Searched refs:elapsed (Results 1 - 25 of 68) sorted by relevance

123

/freebsd-10.0-release/cddl/contrib/dtracetoolkit/Bin/
H A Dshortlived.d71 /* 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 Dsh_flowtime.d84 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 Dsh_wasted.d3 * 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 Dsh_calldist.d3 * 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 Diofile.d68 this->elapsed = timestamp - self->start;
69 @files[pid, execname, args[2]->fi_pathname] = sum(this->elapsed);
H A Dsh_calltime.d3 * 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 Dwpm.d90 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 Dnfswizard.d62 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 Ddnlcsnoop.d79 /* calculate elapsed time */
80 this->elapsed = (timestamp - self->start) / 1000;
84 pid, execname, this->elapsed, arg1 == 0 ? "N" : "Y",
H A Drb_calldist.d3 * 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 Drb_calltime.d3 * 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...]
/freebsd-10.0-release/cddl/contrib/dtracetoolkit/Proc/
H A Dshortlived.d71 /* 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);
/freebsd-10.0-release/cddl/contrib/dtracetoolkit/Shell/
H A Dsh_flowtime.d84 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 Dsh_wasted.d3 * 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 Dsh_calldist.d3 * 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 Dsh_calltime.d3 * 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...]
/freebsd-10.0-release/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/docsExamples/
H A Drwinfo.d42 uint64_t elapsed;
63 i[probefunc].elapsed += timestamp - i[probefunc].ts;
68 printf(" calls max bytes elapsed nsecs\n");
71 i["read"].maxbytes, i["read"].elapsed);
73 i["write"].maxbytes, i["write"].elapsed);
/freebsd-10.0-release/contrib/gcc/
H A Dtimevar.c134 struct timevar_time_def elapsed; member in struct:timevar_def
176 pushed. Time elapsed since then is attributed to the topmost
239 /* Zero all elapsed times. */
256 /* Push TIMEVAR onto the timing stack. No further elapsed time is
258 subsequent elapsed time is attributed to TIMEVAR, until it is
279 /* If the stack isn't empty, attribute the current elapsed time to
282 timevar_accumulate (&stack->timevar->elapsed, &start_time, &now);
321 /* Attribute the elapsed time to the element we're popping. */
322 timevar_accumulate (&popped->timevar->elapsed, &start_time, &now);
360 /* Stop timing TIMEVAR. Time elapsed sinc
[all...]
/freebsd-10.0-release/cddl/contrib/dtracetoolkit/Disk/
H A Diofile.d68 this->elapsed = timestamp - self->start;
69 @files[pid, execname, args[2]->fi_pathname] = sum(this->elapsed);
/freebsd-10.0-release/cddl/contrib/dtracetoolkit/Misc/
H A Dwpm.d90 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);
/freebsd-10.0-release/cddl/contrib/dtracetoolkit/Apps/
H A Dnfswizard.d62 this->elapsed = timestamp - start[args[0]->b_addr];
63 @maxtime = max(this->elapsed);
64 @avgtime = avg(this->elapsed);
65 @qnztime = quantize(this->elapsed / 1000);
/freebsd-10.0-release/sbin/camcontrol/
H A Dprogress.c91 prog->elapsed = prog->now - prog->start;
92 if (done == 0 || prog->elapsed == 0 || prog->done / prog->elapsed == 0) {
95 prog->eta = prog->size / (prog->done / prog->elapsed) - prog->elapsed;
155 if (prog->elapsed > 0) {
156 bytespersec /= prog->elapsed;
162 if (prog->done == 0 || prog->elapsed <= 0 || prog->done > prog->size) {
H A Dprogress.h50 int64_t elapsed; /* cached # of elapsed seconds */ member in struct:progress_t
/freebsd-10.0-release/cddl/contrib/dtracetoolkit/Kernel/
H A Ddnlcsnoop.d79 /* calculate elapsed time */
80 this->elapsed = (timestamp - self->start) / 1000;
84 pid, execname, this->elapsed, arg1 == 0 ? "N" : "Y",
/freebsd-10.0-release/cddl/contrib/dtracetoolkit/Ruby/
H A Drb_calldist.d3 * 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...]

Completed in 226 milliseconds

123