diff options
| author | zy <[email protected]> | 2023-11-08 05:34:14 -0500 |
|---|---|---|
| committer | zy <[email protected]> | 2023-11-08 05:34:14 -0500 |
| commit | a41867da665409c3e880c8cfd5ef904bce36f276 (patch) | |
| tree | d825d4743eb23bb944f673712395e535e4753abd | |
| parent | cb06ef644feea2fae5fd88e51f59a32cf6b85610 (diff) | |
readme update
| -rw-r--r-- | README.md | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -6,7 +6,7 @@ Monitor the given address and length, and print the system stack information whe See example in helloworld.c - Add #include "watch.h" -- Pass in the address and length to monitor, set the threshold, compare way, timer interval (us) etc. +- Pass in the address and length to monitor, set the threshold, compare way, timer interval (ns) etc. - start_watch(watch_arg); to start monitoring - Call cancel_watch(); when need to cancel monitoring @@ -43,7 +43,7 @@ typedef struct long long threshold; // threshold value unsigned char unsigned_flag; // unsigned flag (true: unsigned, false: signed) unsigned char greater_flag; // reverse flag (true: >, false: <) - unsigned long time; // timer interval (us) + unsigned long time; // timer interval (ns) } watch_arg; ``` |
