mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-09 22:50:54 +00:00
tests: use SP_CAPTURE_CURRENT_TIME
We use nanosecond time, not usec.
This commit is contained in:
@ -27,7 +27,7 @@ test_reader_basic (void)
|
|||||||
SpCaptureReader *reader;
|
SpCaptureReader *reader;
|
||||||
SpCaptureWriter *writer;
|
SpCaptureWriter *writer;
|
||||||
GError *error = NULL;
|
GError *error = NULL;
|
||||||
gint64 t = g_get_monotonic_time ();
|
gint64 t = SP_CAPTURE_CURRENT_TIME;
|
||||||
guint i;
|
guint i;
|
||||||
gint r;
|
gint r;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user