/netbsd/external/bsd/jemalloc/dist/src/ |
H A D | nstime.c | 13 time->ns = ns; in nstime_init() 23 return time->ns; in nstime_ns() 28 return time->ns / MILLION; in nstime_msec() 43 *time = *source; in nstime_copy() 55 time->ns += addend->ns; in nstime_add() 62 time->ns += addend; in nstime_iadd() 76 time->ns -= subtrahend; in nstime_isubtract() 82 2))) == 0) || ((time->ns * multiplier) / multiplier == time->ns)); in nstime_imultiply() 84 time->ns *= multiplier; in nstime_imultiply() 91 time->ns /= divisor; in nstime_idivide() [all …]
|
/netbsd/sys/external/bsd/drm2/dist/drm/amd/display/modules/stats/ |
H A D | stats.c | 90 struct stats_time_cache *time; member 153 if (core_stats->time == NULL) in mod_stats_create() 180 kfree(core_stats->time); in mod_stats_create() 194 kfree(core_stats->time); in mod_stats_destroy() 218 time = core_stats->time; in mod_stats_dump() 252 time[time_index].min_window, in mod_stats_dump() 268 time[time_index].flags); in mod_stats_dump() 288 memset(core_stats->time, 0, in mod_stats_reset_data() 348 time = core_stats->time; in mod_stats_update_flip() 393 time = core_stats->time; in mod_stats_update_vupdate() [all …]
|
/netbsd/external/gpl3/gdb/dist/include/gdb/ |
H A D | signals.def | 46 SET (GDB_SIGNAL_XCPU, 24, "SIGXCPU", "CPU time limit exceeded") 69 SET (GDB_SIGNAL_REALTIME_33, 45, "SIG33", "Real-time event 33") 70 SET (GDB_SIGNAL_REALTIME_34, 46, "SIG34", "Real-time event 34") 71 SET (GDB_SIGNAL_REALTIME_35, 47, "SIG35", "Real-time event 35") 72 SET (GDB_SIGNAL_REALTIME_36, 48, "SIG36", "Real-time event 36") 73 SET (GDB_SIGNAL_REALTIME_37, 49, "SIG37", "Real-time event 37") 74 SET (GDB_SIGNAL_REALTIME_38, 50, "SIG38", "Real-time event 38") 75 SET (GDB_SIGNAL_REALTIME_39, 51, "SIG39", "Real-time event 39") 76 SET (GDB_SIGNAL_REALTIME_40, 52, "SIG40", "Real-time event 40") 77 SET (GDB_SIGNAL_REALTIME_41, 53, "SIG41", "Real-time event 41") [all …]
|
/netbsd/external/gpl3/binutils.old/dist/include/gdb/ |
H A D | signals.def | 46 SET (GDB_SIGNAL_XCPU, 24, "SIGXCPU", "CPU time limit exceeded") 69 SET (GDB_SIGNAL_REALTIME_33, 45, "SIG33", "Real-time event 33") 70 SET (GDB_SIGNAL_REALTIME_34, 46, "SIG34", "Real-time event 34") 71 SET (GDB_SIGNAL_REALTIME_35, 47, "SIG35", "Real-time event 35") 72 SET (GDB_SIGNAL_REALTIME_36, 48, "SIG36", "Real-time event 36") 73 SET (GDB_SIGNAL_REALTIME_37, 49, "SIG37", "Real-time event 37") 74 SET (GDB_SIGNAL_REALTIME_38, 50, "SIG38", "Real-time event 38") 75 SET (GDB_SIGNAL_REALTIME_39, 51, "SIG39", "Real-time event 39") 76 SET (GDB_SIGNAL_REALTIME_40, 52, "SIG40", "Real-time event 40") 77 SET (GDB_SIGNAL_REALTIME_41, 53, "SIG41", "Real-time event 41") [all …]
|
/netbsd/external/gpl3/binutils/dist/include/gdb/ |
H A D | signals.def | 46 SET (GDB_SIGNAL_XCPU, 24, "SIGXCPU", "CPU time limit exceeded") 69 SET (GDB_SIGNAL_REALTIME_33, 45, "SIG33", "Real-time event 33") 70 SET (GDB_SIGNAL_REALTIME_34, 46, "SIG34", "Real-time event 34") 71 SET (GDB_SIGNAL_REALTIME_35, 47, "SIG35", "Real-time event 35") 72 SET (GDB_SIGNAL_REALTIME_36, 48, "SIG36", "Real-time event 36") 73 SET (GDB_SIGNAL_REALTIME_37, 49, "SIG37", "Real-time event 37") 74 SET (GDB_SIGNAL_REALTIME_38, 50, "SIG38", "Real-time event 38") 75 SET (GDB_SIGNAL_REALTIME_39, 51, "SIG39", "Real-time event 39") 76 SET (GDB_SIGNAL_REALTIME_40, 52, "SIG40", "Real-time event 40") 77 SET (GDB_SIGNAL_REALTIME_41, 53, "SIG41", "Real-time event 41") [all …]
|
/netbsd/external/gpl3/gdb.old/dist/include/gdb/ |
H A D | signals.def | 46 SET (GDB_SIGNAL_XCPU, 24, "SIGXCPU", "CPU time limit exceeded") 69 SET (GDB_SIGNAL_REALTIME_33, 45, "SIG33", "Real-time event 33") 70 SET (GDB_SIGNAL_REALTIME_34, 46, "SIG34", "Real-time event 34") 71 SET (GDB_SIGNAL_REALTIME_35, 47, "SIG35", "Real-time event 35") 72 SET (GDB_SIGNAL_REALTIME_36, 48, "SIG36", "Real-time event 36") 73 SET (GDB_SIGNAL_REALTIME_37, 49, "SIG37", "Real-time event 37") 74 SET (GDB_SIGNAL_REALTIME_38, 50, "SIG38", "Real-time event 38") 75 SET (GDB_SIGNAL_REALTIME_39, 51, "SIG39", "Real-time event 39") 76 SET (GDB_SIGNAL_REALTIME_40, 52, "SIG40", "Real-time event 40") 77 SET (GDB_SIGNAL_REALTIME_41, 53, "SIG41", "Real-time event 41") [all …]
|
/netbsd/external/mpl/bind/dist/lib/isccfg/tests/ |
H A D | duration_test.c | 103 uint32_t time; member 128 { .string = "PT0S", .time = 0 }, in duration_test() 129 { .string = "PT42S", .time = 42 }, in duration_test() 130 { .string = "PT10m", .time = 600 }, in duration_test() 133 { .string = "pT2H", .time = 7200 }, in duration_test() 136 { .string = "p7d", .time = 604800 }, in duration_test() 145 .time = UINT32_MAX - 1 }, in duration_test() 147 .time = UINT32_MAX }, in duration_test() 150 .time = UINT32_MAX }, in duration_test() 153 { .string = "0", .time = 0 }, in duration_test() [all …]
|
/netbsd/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/core/ |
H A D | nouveau_nvkm_core_subdev.c | 121 s64 time; in nvkm_subdev_fini() local 124 time = ktime_to_us(ktime_get()); in nvkm_subdev_fini() 137 time = ktime_to_us(ktime_get()) - time; in nvkm_subdev_fini() 145 s64 time; in nvkm_subdev_preinit() local 158 time = ktime_to_us(ktime_get()) - time; in nvkm_subdev_preinit() 166 s64 time; in nvkm_subdev_init() local 173 s64 time; in nvkm_subdev_init() local 183 time = ktime_to_us(ktime_get()) - time; in nvkm_subdev_init() 195 time = ktime_to_us(ktime_get()) - time; in nvkm_subdev_init() 204 s64 time; in nvkm_subdev_del() local [all …]
|
/netbsd/external/bsd/libbind/dist/nameser/ |
H A D | ns_date.c | 58 struct tm time; in ns_datetosecs() local 70 memset(&time, 0, sizeof time); in ns_datetosecs() 73 time.tm_mday = datepart(cp + 6, 2, 01, 31, errp); in ns_datetosecs() 74 time.tm_hour = datepart(cp + 8, 2, 00, 23, errp); in ns_datetosecs() 75 time.tm_min = datepart(cp + 10, 2, 00, 59, errp); in ns_datetosecs() 88 result = time.tm_sec; /*%< Seconds */ in ns_datetosecs() 89 result += time.tm_min * 60; /*%< Minutes */ in ns_datetosecs() 90 result += time.tm_hour * (60*60); /*%< Hours */ in ns_datetosecs() 94 for (i = 0; i < time.tm_mon; i++) in ns_datetosecs() 97 if (time.tm_mon > 1 && isleap(1900+time.tm_year)) in ns_datetosecs() [all …]
|
/netbsd/external/bsd/jemalloc/include/jemalloc/internal/ |
H A D | nstime.h | 12 void nstime_init(nstime_t *time, uint64_t ns); 14 uint64_t nstime_ns(const nstime_t *time); 15 uint64_t nstime_sec(const nstime_t *time); 16 uint64_t nstime_msec(const nstime_t *time); 17 uint64_t nstime_nsec(const nstime_t *time); 18 void nstime_copy(nstime_t *time, const nstime_t *source); 20 void nstime_add(nstime_t *time, const nstime_t *addend); 21 void nstime_iadd(nstime_t *time, uint64_t addend); 23 void nstime_isubtract(nstime_t *time, uint64_t subtrahend); 24 void nstime_imultiply(nstime_t *time, uint64_t multiplier); [all …]
|
/netbsd/external/bsd/jemalloc/dist/include/jemalloc/internal/ |
H A D | nstime.h | 12 void nstime_init(nstime_t *time, uint64_t ns); 14 uint64_t nstime_ns(const nstime_t *time); 15 uint64_t nstime_sec(const nstime_t *time); 16 uint64_t nstime_msec(const nstime_t *time); 17 uint64_t nstime_nsec(const nstime_t *time); 18 void nstime_copy(nstime_t *time, const nstime_t *source); 20 void nstime_add(nstime_t *time, const nstime_t *addend); 21 void nstime_iadd(nstime_t *time, uint64_t addend); 23 void nstime_isubtract(nstime_t *time, uint64_t subtrahend); 24 void nstime_imultiply(nstime_t *time, uint64_t multiplier); [all …]
|
/netbsd/external/cddl/dtracetoolkit/dist/Docs/Notes/ |
H A D | ALLexclusive_notes.txt | 11 * What is "exclusive" function time? 13 This is the time of function execution, from when the function begins to 14 when it completes, excluding the time spent executing any child function. 16 Exclusive function time can be calculated like this, 18 exclusive function time = time(function end) - time(function start) - 19 time(total child exclusive time) 22 time, so that it can be subtracted from the parent execution time. 70 time from line 2 to line 13 minus the time from line 5 to 12 to subtract 71 the time spent in both func_b() and func_c(). Or, you could say that 72 exclusive time for func_a() is the time from lines 2 to 4. [all …]
|
H A D | ALLinclusive_notes.txt | 11 * What is "inclusive" function time? 13 This is the time of function execution, from when the function begins to 16 Inclusive function time is calculated in a very simple way, 18 inclusive function time = time(function end) - time(function start) 66 Inclusive function time for func_a() in the above output would be the 67 time from line 2 to line 13. This inclusive time includes the time 70 Looking back at the code, inclusive time for func_a() is the time spent 73 See Notes/ALLexclusive_notes.txt for details on "exclusive" function time.
|
H A D | ALLelapsed_notes.txt | 2 * The following are notes for all scripts that measure elapsed time. 10 * What is "elapsed" time? 12 Elapsed time is the absolute time from one point to another. This time 14 off-CPU time due to other system events such as I/O, scheduling, 19 elapsed time. 24 time and take the average (or run your workload several times and let 27 See Notes/ALLoncpu_notes.txt for a description of a different time 28 measurement, "on-CPU" time. 31 * How is "elapsed" time measured? 33 In DTrace, the following template provides elapsed time as "this->elapsed",
|
/netbsd/external/cddl/dtracetoolkit/dist/Notes/ |
H A D | ALLexclusive_notes.txt | 11 * What is "exclusive" function time? 13 This is the time of function execution, from when the function begins to 14 when it completes, excluding the time spent executing any child function. 16 Exclusive function time can be calculated like this, 18 exclusive function time = time(function end) - time(function start) - 19 time(total child exclusive time) 22 time, so that it can be subtracted from the parent execution time. 70 time from line 2 to line 13 minus the time from line 5 to 12 to subtract 71 the time spent in both func_b() and func_c(). Or, you could say that 72 exclusive time for func_a() is the time from lines 2 to 4. [all …]
|
H A D | ALLinclusive_notes.txt | 11 * What is "inclusive" function time? 13 This is the time of function execution, from when the function begins to 16 Inclusive function time is calculated in a very simple way, 18 inclusive function time = time(function end) - time(function start) 66 Inclusive function time for func_a() in the above output would be the 67 time from line 2 to line 13. This inclusive time includes the time 70 Looking back at the code, inclusive time for func_a() is the time spent 73 See Notes/ALLexclusive_notes.txt for details on "exclusive" function time.
|
H A D | ALLelapsed_notes.txt | 2 * The following are notes for all scripts that measure elapsed time. 10 * What is "elapsed" time? 12 Elapsed time is the absolute time from one point to another. This time 14 off-CPU time due to other system events such as I/O, scheduling, 19 elapsed time. 24 time and take the average (or run your workload several times and let 27 See Notes/ALLoncpu_notes.txt for a description of a different time 28 measurement, "on-CPU" time. 31 * How is "elapsed" time measured? 33 In DTrace, the following template provides elapsed time as "this->elapsed",
|
/netbsd/usr.sbin/mrouted/ |
H A D | callout.c | 25 int time; /* time offset to next event*/ member 58 if (!ptr->time) { in age_callout_queue() 71 ptr->time --; in age_callout_queue() 109 node->time = delay; in timer_setTimer() 124 if (delay < ptr->time) { in timer_setTimer() 132 ptr->time -= node->time; in timer_setTimer() 139 delay -= ptr->time; node->time = delay; in timer_setTimer() 185 (ptr->next)->time += ptr->time; in timer_clearTimer() 210 logit(LOG_DEBUG,0,"(%d,%d) ", ptr->id, ptr->time); in print_Q() 221 left += ptr->time; in secs_remaining() [all …]
|
/netbsd/crypto/external/bsd/openssl/dist/doc/man3/ |
H A D | X509_cmp_time.pod | 7 - X509 time functions 22 X509_cmp_time() compares the ASN1_TIME in I<asn1_time> with the time 26 I<asn1_time> with the current time, expressed as time_t. 28 X509_cmp_timeframe() compares the given time period with the reference time 30 B<X509_V_FLAG_USE_CHECK_TIME>; else the current time is used as reference time. 50 I<offset_sec> after the current time. It is equivalent to calling 61 is earlier than, or equal to, I<in_tm> (resp. current time), and 1 67 1 if the end time is not NULL and the reference time (which has determined as 68 stated above) is past the end time, -1 if the start time is not NULL and the 69 reference time is before, else 0 to indicate that the reference time is in range [all …]
|
H A D | ASN1_TIME_set.pod | 74 functions set the time structure I<s> to the time represented 107 If the time structure has invalid format it prints out "Bad time value" and 115 If I<s> is NULL, then the current time is converted. The output time is GMT. 137 time structures I<a> and I<b>. 190 of an I/O error or invalid time format. 215 error occurred (invalid time format). 235 Set a time structure to one hour after the current time and print it out: 237 #include <time.h> 244 t = time(NULL); 251 Determine if one time is later or sooner than the current time: [all …]
|
/netbsd/crypto/external/bsd/openssl.old/dist/doc/man3/ |
H A D | ASN1_TIME_set.pod | 68 functions set the time structure B<s> to the time represented 95 functions check the syntax of the time structure B<s>. 106 If B<s> is NULL, then the current time is converted. The output time is GMT. 128 time structures B<a> and B<b>. 192 invalid time format). 195 error occurred (invalid time format). 211 Set a time structure to one hour after the current time and print it out: 213 #include <time.h> 220 t = time(NULL); 227 Determine if one time is later or sooner than the current time: [all …]
|
/netbsd/lib/libc/ |
H A D | README | 152 time_t time(time_t *); 156 int32_t time(int32_t *); 160 int64_t time(int64_t *); 177 The header file <time.h> (src/include/time.h) declares 189 #define time _time 192 <time.h> and defines `time' normally: 195 time(time_t *t) 207 int32_t time(int32_t *); 210 "namespace.h", <compat/include/time.h>, and <time.h>, but suppresses 211 the normal declaration of `time' in <time.h> by defining [all …]
|
/netbsd/games/trek/ |
H A D | warp.c | 82 double time; in warp() local 114 time = dist / speed; in warp() 117 percent = 100 * time / Now.time + 0.5; in warp() 129 time *= frac; in warp() 135 Move.time = move(fl, course, time, speed); in warp() 138 dist = Move.time * speed; in warp() 161 time = (Ship.warp - 8.0) * dist * (franf() + 1.0); in warp() 162 Now.date += time; in warp() 169 Event[i].date += time; in warp() 175 time = Now.date; in warp() [all …]
|
/netbsd/external/gpl3/gcc/dist/libphobos/src/std/datetime/ |
H A D | timezone.d | 76 The name of the time zone. Exactly how the time zone name is formatted 148 stdTime = The UTC time that needs to be adjusted to this time zone's in name() 156 in this time zone's time and converts it to UTC (i.e. std time). in name() 159 adjTime = The time in this time zone that needs to be adjusted to in name() 507 stdName = The abbreviation for the time zone during std time. 806 time zone at the given point in time. 857 systems to adjust the time to the appropriate time zone from std time. 1323 in this time zone's time and converts it to UTC (i.e. std time). in hasDST() 1965 in this time zone's time and converts it to UTC (i.e. std time). in utcOffset() 2874 effect in this time zone at the given point in time. in version() [all …]
|
/netbsd/external/gpl3/gdb/dist/libiberty/ |
H A D | pex-unix.c | 132 if (time == NULL) in pex_wait() 138 if (time != NULL) in pex_wait() 159 if (time != NULL) in pex_wait() 173 if (time == NULL) in pex_wait() 212 struct pex_time time; member 230 if (time != NULL) in pex_wait() 231 *time = p->time; in pex_wait() 247 if (time != NULL) in pex_wait() 283 if (time != NULL) in pex_wait() 284 *time = pt; in pex_wait() [all …]
|