Get the current time and memory usage.
Synopsis
Declared in <llvm/Support/Timer.h>
static
TimeRecord
getCurrentTime(bool Start = true);
Description
If Start is true we get the memory usage before the time, otherwise we get time before memory usage. This matters if the time to get the memory usage is significant and shouldn't be counted as part of a duration.
Return Value
A time record with the current wall, user, and system times.
Parameters
Name |
Description |
Start |
Whether this sample marks the start of an interval. |
Created with MrDocs