Function utils::burn_cpu#

Function Documentation#

uint64_t utils::burn_cpu(uint64_t microsec)#

Block the cpu for an amont of time. Usefull for simulate a working task.

Parameters

microsec –

Returns

uint64_t

Corail is free software: you can redistribute it and/or modify it under the terms of the GNU LESSER GENERAL PUBLIC LICENSE as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.