OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:CLOCKS_PER_SEC
(Results
1 - 25
of
79
) sorted by null
1
2
3
4
/external/ltp/testcases/open_posix_testsuite/conformance/definitions/time_h/
3-2-buildonly.c
8
Test that
CLOCKS_PER_SEC
is defined
13
#ifndef
CLOCKS_PER_SEC
14
#error
CLOCKS_PER_SEC
not defined
/bionic/libc/bionic/
clock.cpp
41
return (ts.tv_sec *
CLOCKS_PER_SEC
) + (ts.tv_nsec / (NS_PER_S /
CLOCKS_PER_SEC
));
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/clock/
2-1.c
9
* Test that
CLOCKS_PER_SEC
== 1,000,000 in <time.h>
12
// Applied patch from Craig Rodrigues; no longer assumes
CLOCKS_PER_SEC
is long
26
intmax_t
clocks_per_sec
= (intmax_t)
CLOCKS_PER_SEC
;
local
28
if (EXPECTEDVALUE ==
CLOCKS_PER_SEC
) {
33
clocks_per_sec
, EXPECTEDVALUE);
1-1.c
10
* Dividing the return value by
CLOCKS_PER_SEC
gives time in seconds.
30
sec1 = c1 /
CLOCKS_PER_SEC
;
38
sec2 = c2 /
CLOCKS_PER_SEC
;
/toolchain/binutils/binutils-2.27/libiberty/
getruntime.c
64
#ifndef
CLOCKS_PER_SEC
65
#define
CLOCKS_PER_SEC
1
78
#ifdef
CLOCKS_PER_SEC
79
#define GNU_HZ
CLOCKS_PER_SEC
113
const long
clocks_per_sec
=
CLOCKS_PER_SEC
;
114
if (
clocks_per_sec
<= 1000000)
115
return clock () * (1000000 /
clocks_per_sec
);
117
return clock () /
clocks_per_sec
;
clock.c
30
@code{clock_t}; divide this number by @samp{
CLOCKS_PER_SEC
} to get the
61
#ifdef
CLOCKS_PER_SEC
62
#define GNU_HZ
CLOCKS_PER_SEC
/external/python/cpython2/Lib/plat-atheos/
TYPES.py
87
CLOCKS_PER_SEC
= 1000000
89
CLOCKS_PER_SEC
= 1000000
92
CLK_TCK =
CLOCKS_PER_SEC
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/i386-linux-gnu/bits/
time.h
44
The macro `
CLOCKS_PER_SEC
' is the number per second of the value
47
The value of
CLOCKS_PER_SEC
is required to be 1 million on all
49
# define
CLOCKS_PER_SEC
1000000l
52
/* Even though
CLOCKS_PER_SEC
has such a strange value CLK_TCK
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/x86_64-linux-gnu/bits/
time.h
44
The macro `
CLOCKS_PER_SEC
' is the number per second of the value
47
The value of
CLOCKS_PER_SEC
is required to be 1 million on all
49
# define
CLOCKS_PER_SEC
1000000l
52
/* Even though
CLOCKS_PER_SEC
has such a strange value CLK_TCK
/external/libcxx/test/std/depr/depr.c.headers/
time_h.pass.cpp
19
#ifndef
CLOCKS_PER_SEC
20
#error
CLOCKS_PER_SEC
not defined
/external/libcxx/test/std/language.support/support.runtime/
ctime.pass.cpp
19
#ifndef
CLOCKS_PER_SEC
20
#error
CLOCKS_PER_SEC
not defined
/external/libcxx/test/std/utilities/time/date.time/
ctime.pass.cpp
17
#ifndef
CLOCKS_PER_SEC
18
#error
CLOCKS_PER_SEC
not defined
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/depr/depr.c.headers/
time_h.pass.cpp
19
#ifndef
CLOCKS_PER_SEC
20
#error
CLOCKS_PER_SEC
not defined
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/language.support/support.runtime/
ctime.pass.cpp
19
#ifndef
CLOCKS_PER_SEC
20
#error
CLOCKS_PER_SEC
not defined
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/utilities/time/date.time/
ctime.pass.cpp
17
#ifndef
CLOCKS_PER_SEC
18
#error
CLOCKS_PER_SEC
not defined
/external/ImageMagick/MagickCore/
timer.c
56
#if !defined(
CLOCKS_PER_SEC
)
57
#define
CLOCKS_PER_SEC
100
207
return((double) clock()/
CLOCKS_PER_SEC
);
469
return((double) clock()/
CLOCKS_PER_SEC
);
/external/freetype/src/tools/
test_bbox.c
8
/* SunOS 4.1.* does not define
CLOCKS_PER_SEC
, so include <sys/param.h> */
12
#define
CLOCKS_PER_SEC
HZ
18
return clock() * 10000L /
CLOCKS_PER_SEC
;
/external/python/cpython2/Lib/plat-linux2/
TYPES.py
102
CLOCKS_PER_SEC
= 1000000l
108
CLK_TCK =
CLOCKS_PER_SEC
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/fix/test/
isac_speed_test.cc
83
return 1000.0 * clocks /
CLOCKS_PER_SEC
;
96
return 1000.0 * clocks /
CLOCKS_PER_SEC
;
/external/webrtc/webrtc/modules/audio_coding/codecs/opus/
opus_speed_test.cc
69
return 1000.0 * clocks /
CLOCKS_PER_SEC
;
81
return 1000.0 * clocks /
CLOCKS_PER_SEC
;
/prebuilts/gdb/linux-x86/lib/python2.7/plat-linux2/
TYPES.py
102
CLOCKS_PER_SEC
= 1000000l
108
CLK_TCK =
CLOCKS_PER_SEC
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/plat-linux2/
TYPES.py
102
CLOCKS_PER_SEC
= 1000000l
108
CLK_TCK =
CLOCKS_PER_SEC
/device/linaro/bootloader/edk2/StdLib/LibC/Softfloat/
timesoftfloat.c
71
( count / ( ( (float) clocks ) /
CLOCKS_PER_SEC
) ) / 1000,
121
} while ( clock() - startClock <
CLOCKS_PER_SEC
);
148
} while ( clock() - startClock <
CLOCKS_PER_SEC
);
177
} while ( clock() - startClock <
CLOCKS_PER_SEC
);
208
} while ( clock() - startClock <
CLOCKS_PER_SEC
);
276
} while ( clock() - startClock <
CLOCKS_PER_SEC
);
303
} while ( clock() - startClock <
CLOCKS_PER_SEC
);
332
} while ( clock() - startClock <
CLOCKS_PER_SEC
);
363
} while ( clock() - startClock <
CLOCKS_PER_SEC
);
407
} while ( clock() - startClock <
CLOCKS_PER_SEC
);
[
all
...]
/device/linaro/bootloader/edk2/StdLib/Include/
time.h
10
The macros defined are NULL; and
CLOCKS_PER_SEC
which expands to an
39
CLOCKS_PER_SEC
The number of values per second returned by the clock function.
83
#define
CLOCKS_PER_SEC
__getCPS()
165
the macro
CLOCKS_PER_SEC
. If the processor time used is not
/external/capstone/suite/benchmark/
test_iter_benchmark.c
91
timeUsed = (double)(end - start) /
CLOCKS_PER_SEC
;
Completed in 1527 milliseconds
1
2
3
4