rtmon_log_user_tstamp(3) rtmon_log_user_tstamp(3)
rtmon_log_user_tstamp - REACT/Pro user timestamp logging
#include <sys/rtmon.h>
void rtmon_log_user_tstamp(evt, qual1, qual2, qual3, qual4)
event_t evt;
unsigned long long qual1, qual2, qual3, qual4;
This function is available with -lrtmon or -lrtmonstubs. Linking with
rtmonstubs will cause this call to have no effect.
rtmon_log_user_tstamp(evt, qual1, qual2, qual3, qual4) logs event evt.
event_t is an unsigned short allowing 64K events. All events logged by
users with rtmon_log_user_tstamp are offset by 40000. The range 60000-
64K is reserved for kernel events providing 20K events for user logging.
As an example: if a user logs event 17 with rtmon_log_user_tstamp(17,
value1, value2, 0, 0), it will appear in the event stream as event 40017.
IRIXview provides a "drop" mechanism for examining events. This event as
well as other user events will be chronologically merged with any kernel
events by rtmond. The merged events can be viewed with IRIXview or
collected and saved to a file (for later examination) with rtmon-client.
/usr/tmp/.rtmond_shm_file
shared memory file with rtmond
rtmond(1), rtmon-client(1), IRIXview(1)
Any program calling this function must be run as root or the permissions
on /usr/tmp/.rtmond_shm_file must be modified.
PPPPaaaaggggeeee 1111 [ Back ]
|