We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d8c45cf commit 75fff20Copy full SHA for 75fff20
src/profiler/telemeh.c
@@ -195,14 +195,12 @@ void calibrateTSC(FILE *outfile)
195
unsigned long long startTsc, endTsc;
196
struct timespec startTime, endTime;
197
198
- clock_gettime(CLOCK_MONOTONIC, &startTime);
199
- //startTsc = __rdtsc();
+ startTime = uv_hrtime()
200
READ_TSC(startTsc)
201
202
sleep(1);
203
204
- clock_gettime(CLOCK_MONOTONIC, &endTime);
205
- //endTsc = __rdtsc();
+ endTime = uv_hrtime();
206
READ_TSC(endTsc)
207
208
{
0 commit comments