Searched refs:time_val (Results 1 – 3 of 3) sorted by relevance
565 struct timespec time_val; in osal_get_time() local569 clock_gettime(CLOCK_MONOTONIC, &time_val); in osal_get_time()572 cur_time = time_val.tv_sec * 1000 + time_val.tv_nsec / 1000000; in osal_get_time()607 struct timespec time_val; in osal_get_time_usec() local610 clock_gettime(CLOCK_MONOTONIC, &time_val); in osal_get_time_usec()613 *sec = time_val.tv_sec; in osal_get_time_usec()614 *usec = time_val.tv_nsec / 1000; in osal_get_time_usec()
55 time_val = line.split()[1]56 self.write_perf_keyval({'time': time_val})
455 def test_isotime(time_val, time_fmt, as_bytes): argument456 tstr = time_val.strftime(time_fmt)457 if isinstance(time_val, six.text_type) and as_bytes:459 elif isinstance(time_val, bytes) and not as_bytes:464 assert iparser.parse_isotime(tstr) == time_val