Searched refs:timestr (Results 1 - 10 of 10) sorted by relevance

/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/Devel/DProf/t/
H A DDProf.t19 use Benchmark qw( timediff timestr );
61 print '# ' . timestr( $t_total, 'nop' ), "\n";
/osnet-11/usr/src/lib/libldap4/util/
H A Dlog.c96 static char timestr[128]; variable
158 ctime_r(&now, timestr, 128);
161 fprintf(logfd, "%.16s : ", timestr);
/osnet-11/usr/src/lib/libldap5/sources/ldap/util/
H A Dlog.c96 static char timestr[128]; variable
158 ctime_r(&now, timestr, 128);
161 fprintf(logfd, "%.16s : ", timestr);
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/
H A DBenchmark.t98 my $default = timestr ($diff);
99 isnt ($default, '', 'timestr ($diff)');
100 my $auto = timestr ($diff, 'auto');
101 is ($auto, $default, 'timestr ($diff, "auto") matches timestr ($diff)');
104 my $all = timestr ($diff, 'all');
105 like ($all, $All_Pattern, 'timestr ($diff, "all")');
110 is (timestr ($diff, 'none'), '', "none supresses output");
112 my $noc = timestr ($diff, 'noc');
113 like ($noc, qr/$wallclock +wallclock secs? +\( *$usr +usr +\+ +$sys +sys += +$cpu +CPU\)/, 'timestr (
[all...]
H A DBenchmark.pm50 print "$count loops of other code took:",timestr($t),"\n";
54 print "$count loops of other code took:",timestr($t),"\n";
88 print "the code took:",timestr($td),"\n";
125 determines the format of the output, as described for timestr() below.
169 object suitable for passing to timestr().
171 =item timestr ( TIMEDIFF, [ STYLE, [ FORMAT ] ] )
278 for passing to timestr().
407 December, 2001; by Nicholas Clark: make timestr() recognise the style 'none'
415 February, 2004; by Chia-liang Kao: make cmpthese and timestr use time
433 @EXPORT=qw(timeit timethis timethese timediff timestr);
578 sub timestr { subroutine
[all...]
/osnet-11/usr/src/lib/libldap5/sources/ldap/common/
H A Dtmplout.c912 char *p, *timestr, zone, *fmterr = local
961 timestr = NSLDAPI_CTIME( &gmttime, buf, sizeof(buf) );
963 timestr[ strlen( timestr ) - 1 ] = zone; /* replace trailing newline */
965 strcpy( timestr + 11, timestr + 20 );
968 return( timestr );
/osnet-11/usr/src/lib/libc/port/gen/
H A Dsyslog.c182 char timestr[26]; /* hardwired value 26 due to Posix */ local
258 (void) sprintf(o, "%.15s ", ctime_r(&now, timestr, 26) + 4);
/osnet-11/usr/src/lib/libldap4/common/
H A Dtmplout.c976 static char timestr[128]; local
1001 if (strftime(timestr, sizeof(timestr), "%a %b %d %Y", &t) == 0) {
1005 strcpy(timestr + 11, timestr + 20);
1007 return( timestr );
/osnet-11/usr/src/lib/libzfs/common/
H A Dlibzfs_pool.c1397 char timestr[128]; local
1411 strftime(timestr, 128, 0, &t) != 0) {
1416 name, timestr);
1420 name, timestr);
1449 char timestr[128]; local
1473 strftime(timestr, 128, 0, &t) != 0) {
1477 timestr);
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/Test/
H A DHarness.pm698 $tot->{files}, $tot->{max}, timestr($tot->{bench}, 'nop'));

Completed in 58 milliseconds