diff options
Diffstat (limited to 'monitor_user.h')
| -rw-r--r-- | monitor_user.h | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/monitor_user.h b/monitor_user.h deleted file mode 100644 index f4d9df1..0000000 --- a/monitor_user.h +++ /dev/null @@ -1,20 +0,0 @@ -// monitor_interface.h -#include <sys/types.h> - -#define MAX_NAME_LEN (15) // max name length -typedef struct { - pid_t task_id; // current process id - char name[MAX_NAME_LEN + 1]; // name - void *ptr; // virtual address - int length_byte; // byte - 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_ns; // timer interval (ns) -} watch_arg; - -// start watch -int start_watch(watch_arg w_arg); - -// cancel watch -int cancel_watch(void);
\ No newline at end of file |
