The "timeout" value given to the create_eventset command is in nanoseconds, not
microseconds.

Signed-off-by: Kevin Corry <[EMAIL PROTECTED]>

--- libpfm-a/examples/pfmsetup.c        24 Apr 2007 04:46:33 -0000
+++ libpfm-b/examples/pfmsetup.c        26 Apr 2007 19:27:12 -0000
@@ -119,7 +119,7 @@
  *   create_eventset [options] <context_id> <event_set_id>
  *      Create a new event-set for an existing context.
  *        - options: --next-set <next_event_set_id>
- *                   --timeout <microseconds>
+ *                   --timeout <nanoseconds>
  *                   --switch-on-overflow
  *                   --switch-on-timeout
  *                   --explicit-next-set
@@ -1293,7 +1293,7 @@
  *
  * Arguments: [options] <context_id> <event_set_id>
  * Options: --next-set <next_event_set_id>
- *          --timeout <microseconds>
+ *          --timeout <nanoseconds>
  *          --switch-on-overflow
  *          --switch-on-timeout
  *          --explicit-next-set
@@ -1822,7 +1822,7 @@
 
        { "create_eventset", "ce",
          "<context_id> <event_set_id> [--next-set <next_event_set_id>] "
-           "[--timeout <microseconds>] [--switch-on-overflow] "
+           "[--timeout <nanoseconds>] [--switch-on-overflow] "
            "[--switch-on-timeout] [--explicit-next-set] [--exclude-idle]",
          create_eventset, 2 },
 
_______________________________________________
perfmon mailing list
[email protected]
http://www.hpl.hp.com/hosted/linux/mail-archives/perfmon/

Reply via email to