search for: pr_lwpid

Displaying 1 result from an estimated 1 matches for "pr_lwpid".

Did you mean: pr_lwp
2008 Feb 12
1
measuring sleep time in synchronization objects
...probes enabled, as shown below: sched:::sleep /execname == "myexecname"/ { ustack(); bedtime[curlwpsinfo->pr_addr,curlwpsinfo->pr_stype] = walltimestamp; } sched:::wakeup /bedtime[args[0]->pr_addr,args[0]->pr_stype]/ { @sleeptime[execname,args[0]->pr_lwpid,args[0]->pr_addr,args[0]->pr_stype] = sum(walltimestamp - bedtime[args[0]->pr_addr,args[0]->pr_stype]); bedtime[args[0]->pr_addr,args[0]->pr_stype] = 0; } On running my program along with this script, I could see (because of ustack()) that the program is following the ex...