/osnet-11/usr/src/cmd/dtrace_toolkit/DTT/Bin/ |
H A D | shortlived.d | 71 /* record elapsed time for the fork syscall */ 72 this->elapsed = vtimestamp - self->fork; 73 procs += this->elapsed; 92 /* record elapsed time for process execution */ 93 this->elapsed = vtimestamp - self->start; 94 procs += this->elapsed; 96 /* sum elapsed by process name and ppid */ 97 @Times_exec[execname] = sum(this->elapsed/1000000); 98 @Times_ppid[ppid] = sum(this->elapsed/1000000);
|
H A D | sh_flowtime.d | 84 this->elapsed = (timestamp - self->last) / 1000; 86 basename(copyinstr(arg0)), this->elapsed, self->depth * 2, "", 94 this->elapsed = (timestamp - self->last) / 1000; 97 basename(copyinstr(arg0)), this->elapsed, self->depth * 2, "", 104 this->elapsed = (timestamp - self->last) / 1000; 106 basename(copyinstr(arg0)), this->elapsed, self->depth * 2, "", 113 this->elapsed = (timestamp - self->last) / 1000; 115 basename(copyinstr(arg0)), this->elapsed, self->depth * 2, "",
|
H A D | sh_wasted.d | 3 * sh_wasted.d - measure Bourne shell elapsed times for "wasted" commands. 17 * TIME Total elapsed time for calls (us) 61 this->elapsed = timestamp - self->command; 69 @types_cmd[basename(copyinstr(arg0)), this->path] = sum(this->elapsed); 77 sum(this->elapsed); 89 this->elapsed = (timestamp - self->start) / 1000; 90 printf("Script duration: %d us\n", this->elapsed); 93 printf("\nExternal command elapsed times,\n"); 98 printf("\nWasted command elapsed times,\n");
|
H A D | sh_calldist.d | 3 * sh_calldist.d - measure Bourne shell elapsed times for types of operation. 13 * This script prints distribution plots of elapsed time for shell 83 this->elapsed = timestamp - self->builtin; 87 quantize(this->elapsed / 1000); 89 self->exclude[self->depth] += this->elapsed; 100 this->elapsed = timestamp - self->command; 104 quantize(this->elapsed / 1000); 106 self->exclude[self->depth] += this->elapsed; 114 printf("Exclusive function elapsed times (us),\n\n"); 117 printf("Inclusive function elapsed time [all...] |
H A D | iofile.d | 68 this->elapsed = timestamp - self->start; 69 @files[pid, execname, args[2]->fi_pathname] = sum(this->elapsed);
|
H A D | sh_calltime.d | 3 * sh_calltime.d - measure Bourne shell elapsed times for types of operation. 17 * TOTAL Total elapsed time for calls (us) 82 this->elapsed = timestamp - self->builtin; 89 @types[this->file, "builtin", this->name] = sum(this->elapsed); 90 @types["-", "total", "-"] = sum(this->elapsed); 92 self->exclude[self->depth] += this->elapsed; 103 this->elapsed = timestamp - self->command; 110 @types[this->file, "cmd", this->name] = sum(this->elapsed); 111 @types["-", "total", "-"] = sum(this->elapsed); 113 self->exclude[self->depth] += this->elapsed; [all...] |
H A D | wpm.d | 90 this->elapsed = (timestamp - last) / 1000000; 91 @dist = quantize(this->elapsed); 92 @avg = avg(this->elapsed); 93 @min = min(this->elapsed); 94 @max = max(this->elapsed);
|
H A D | nfswizard.d | 62 this->elapsed = timestamp - start[args[0]->b_addr]; 63 @maxtime = max(this->elapsed); 64 @avgtime = avg(this->elapsed); 65 @qnztime = quantize(this->elapsed / 1000);
|
H A D | dnlcsnoop.d | 79 /* calculate elapsed time */ 80 this->elapsed = (timestamp - self->start) / 1000; 84 pid, execname, this->elapsed, arg1 == 0 ? "N" : "Y",
|
H A D | rb_calldist.d | 3 * rb_calldist.d - measure Ruby elapsed times for types of operation. 13 * This script prints distribution plots of elapsed time for Ruby 83 this->elapsed = timestamp - self->object; 89 quantize(this->elapsed / 1000); 91 self->exclude[self->depth] += this->elapsed; 102 this->elapsed = timestamp - self->gc; 105 @types[".", "gc", "-"] = quantize(this->elapsed / 1000); 107 self->exclude[self->depth] += this->elapsed; 115 printf("\nExclusive function elapsed times (us),\n"); 118 printf("\nInclusive function elapsed time [all...] |
H A D | rb_calltime.d | 3 * rb_calltime.d - measure Ruby elapsed times for types of operation. 17 * TOTAL Total elapsed time for calls (us) 82 this->elapsed = timestamp - self->object; 89 @types[this->file, "obj-new", this->name] = sum(this->elapsed); 91 self->exclude[self->depth] += this->elapsed; 102 this->elapsed = timestamp - self->gc; 105 @types[".", "gc", "-"] = sum(this->elapsed); 106 self->exclude[self->depth] += this->elapsed; 121 printf("\nExclusive function elapsed times (us),\n"); 126 printf("\nInclusive function elapsed time [all...] |
H A D | js_calldist.d | 3 * js_calldist.d - measure JavaScript elapsed times for types of operation. 80 this->elapsed = timestamp - self->object; 86 quantize(this->elapsed / 1000); 88 self->exclude[self->depth] += this->elapsed; 96 printf("\nExclusive function elapsed times (us),\n"); 99 printf("\nInclusive function elapsed times (us),\n");
|
H A D | js_calltime.d | 3 * js_calltime.d - measure JavaScript elapsed times for types of operation. 17 * TOTAL Total elapsed time for calls (us) 82 this->elapsed = timestamp - self->object; 89 @types[this->file, "obj-new", this->name] = sum(this->elapsed); 90 @types["-", "total", "-"] = sum(this->elapsed); 92 self->exclude[self->depth] += this->elapsed; 107 printf("\nExclusive function elapsed times (us),\n"); 112 printf("\nInclusive function elapsed times (us),\n");
|
/osnet-11/usr/src/cmd/dtrace_toolkit/DTT/Proc/ |
H A D | shortlived.d | 71 /* record elapsed time for the fork syscall */ 72 this->elapsed = vtimestamp - self->fork; 73 procs += this->elapsed; 92 /* record elapsed time for process execution */ 93 this->elapsed = vtimestamp - self->start; 94 procs += this->elapsed; 96 /* sum elapsed by process name and ppid */ 97 @Times_exec[execname] = sum(this->elapsed/1000000); 98 @Times_ppid[ppid] = sum(this->elapsed/1000000);
|
/osnet-11/usr/src/cmd/dtrace_toolkit/DTT/Shell/ |
H A D | sh_flowtime.d | 84 this->elapsed = (timestamp - self->last) / 1000; 86 basename(copyinstr(arg0)), this->elapsed, self->depth * 2, "", 94 this->elapsed = (timestamp - self->last) / 1000; 97 basename(copyinstr(arg0)), this->elapsed, self->depth * 2, "", 104 this->elapsed = (timestamp - self->last) / 1000; 106 basename(copyinstr(arg0)), this->elapsed, self->depth * 2, "", 113 this->elapsed = (timestamp - self->last) / 1000; 115 basename(copyinstr(arg0)), this->elapsed, self->depth * 2, "",
|
H A D | sh_wasted.d | 3 * sh_wasted.d - measure Bourne shell elapsed times for "wasted" commands. 17 * TIME Total elapsed time for calls (us) 61 this->elapsed = timestamp - self->command; 69 @types_cmd[basename(copyinstr(arg0)), this->path] = sum(this->elapsed); 77 sum(this->elapsed); 89 this->elapsed = (timestamp - self->start) / 1000; 90 printf("Script duration: %d us\n", this->elapsed); 93 printf("\nExternal command elapsed times,\n"); 98 printf("\nWasted command elapsed times,\n");
|
H A D | sh_calldist.d | 3 * sh_calldist.d - measure Bourne shell elapsed times for types of operation. 13 * This script prints distribution plots of elapsed time for shell 83 this->elapsed = timestamp - self->builtin; 87 quantize(this->elapsed / 1000); 89 self->exclude[self->depth] += this->elapsed; 100 this->elapsed = timestamp - self->command; 104 quantize(this->elapsed / 1000); 106 self->exclude[self->depth] += this->elapsed; 114 printf("Exclusive function elapsed times (us),\n\n"); 117 printf("Inclusive function elapsed time [all...] |
H A D | sh_calltime.d | 3 * sh_calltime.d - measure Bourne shell elapsed times for types of operation. 17 * TOTAL Total elapsed time for calls (us) 82 this->elapsed = timestamp - self->builtin; 89 @types[this->file, "builtin", this->name] = sum(this->elapsed); 90 @types["-", "total", "-"] = sum(this->elapsed); 92 self->exclude[self->depth] += this->elapsed; 103 this->elapsed = timestamp - self->command; 110 @types[this->file, "cmd", this->name] = sum(this->elapsed); 111 @types["-", "total", "-"] = sum(this->elapsed); 113 self->exclude[self->depth] += this->elapsed; [all...] |
/osnet-11/usr/src/cmd/dtrace_toolkit/DTT/Disk/ |
H A D | iofile.d | 68 this->elapsed = timestamp - self->start; 69 @files[pid, execname, args[2]->fi_pathname] = sum(this->elapsed);
|
/osnet-11/usr/src/cmd/dtrace_toolkit/DTT/Misc/ |
H A D | wpm.d | 90 this->elapsed = (timestamp - last) / 1000000; 91 @dist = quantize(this->elapsed); 92 @avg = avg(this->elapsed); 93 @min = min(this->elapsed); 94 @max = max(this->elapsed);
|
/osnet-11/usr/src/cmd/dtrace_toolkit/DTT/Apps/ |
H A D | nfswizard.d | 62 this->elapsed = timestamp - start[args[0]->b_addr]; 63 @maxtime = max(this->elapsed); 64 @avgtime = avg(this->elapsed); 65 @qnztime = quantize(this->elapsed / 1000);
|
/osnet-11/usr/src/cmd/dtrace_toolkit/DTT/Kernel/ |
H A D | dnlcsnoop.d | 79 /* calculate elapsed time */ 80 this->elapsed = (timestamp - self->start) / 1000; 84 pid, execname, this->elapsed, arg1 == 0 ? "N" : "Y",
|
/osnet-11/usr/src/cmd/dtrace_toolkit/DTT/Ruby/ |
H A D | rb_calldist.d | 3 * rb_calldist.d - measure Ruby elapsed times for types of operation. 13 * This script prints distribution plots of elapsed time for Ruby 83 this->elapsed = timestamp - self->object; 89 quantize(this->elapsed / 1000); 91 self->exclude[self->depth] += this->elapsed; 102 this->elapsed = timestamp - self->gc; 105 @types[".", "gc", "-"] = quantize(this->elapsed / 1000); 107 self->exclude[self->depth] += this->elapsed; 115 printf("\nExclusive function elapsed times (us),\n"); 118 printf("\nInclusive function elapsed time [all...] |
H A D | rb_calltime.d | 3 * rb_calltime.d - measure Ruby elapsed times for types of operation. 17 * TOTAL Total elapsed time for calls (us) 82 this->elapsed = timestamp - self->object; 89 @types[this->file, "obj-new", this->name] = sum(this->elapsed); 91 self->exclude[self->depth] += this->elapsed; 102 this->elapsed = timestamp - self->gc; 105 @types[".", "gc", "-"] = sum(this->elapsed); 106 self->exclude[self->depth] += this->elapsed; 121 printf("\nExclusive function elapsed times (us),\n"); 126 printf("\nInclusive function elapsed time [all...] |
/osnet-11/usr/src/cmd/dtrace_toolkit/DTT/JavaScript/ |
H A D | js_calldist.d | 3 * js_calldist.d - measure JavaScript elapsed times for types of operation. 80 this->elapsed = timestamp - self->object; 86 quantize(this->elapsed / 1000); 88 self->exclude[self->depth] += this->elapsed; 96 printf("\nExclusive function elapsed times (us),\n"); 99 printf("\nInclusive function elapsed times (us),\n");
|