[sysprof] examples: initialize sysprof clock
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [sysprof] examples: initialize sysprof clock
- Date: Thu, 18 Jul 2019 00:28:45 +0000 (UTC)
commit 991e03ba67a32079f7322b6708676e9b3ab2bf12
Author: Christian Hergert <chergert redhat com>
Date: Wed Jul 17 17:28:31 2019 -0700
examples: initialize sysprof clock
examples/app.c | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/examples/app.c b/examples/app.c
index acf6444..bb10ba6 100644
--- a/examples/app.c
+++ b/examples/app.c
@@ -23,6 +23,8 @@ main (int argc,
{
SysprofCaptureWriter *writer;
+ sysprof_clock_init ();
+
/* Ignore SIGPIPE because we might get a pipe from the environment and we
* don't want to trap if write() is used on it.
*/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]