[sysprof/wip/visualizers] test-capture: initialize clock on startup



commit b91deb26a99b6de6e5cc9e50d85e2a97f3dae13b
Author: Christian Hergert <chergert redhat com>
Date:   Sat Oct 8 20:28:56 2016 -0700

    test-capture: initialize clock on startup

 tests/test-capture.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/tests/test-capture.c b/tests/test-capture.c
index 80739c6..e929394 100644
--- a/tests/test-capture.c
+++ b/tests/test-capture.c
@@ -538,6 +538,7 @@ int
 main (int argc,
       char *argv[])
 {
+  sp_clock_init ();
   g_test_init (&argc, &argv, NULL);
   g_test_add_func ("/SpCapture/ReaderWriter", test_reader_basic);
   g_test_add_func ("/SpCapture/Writer/splice", test_writer_splice);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]