diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-01-25 08:54:17 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-01-25 12:05:10 +0100 |
commit | 01b32d44a41e2959927dea4dafd786a11afc901b (patch) | |
tree | c88ef9ede5004d217a2a95604c21f0335b79d724 /cpukit/score/cpu/no_cpu/rtems/score | |
parent | powerpc/gen83xx: Add per-section compilation and linking support. (diff) | |
download | rtems-01b32d44a41e2959927dea4dafd786a11afc901b.tar.bz2 |
score: Delete obsolete CPU_TIMESTAMP_* defines
Update #2271.
Diffstat (limited to 'cpukit/score/cpu/no_cpu/rtems/score')
-rw-r--r-- | cpukit/score/cpu/no_cpu/rtems/score/cpu.h | 68 |
1 files changed, 0 insertions, 68 deletions
diff --git a/cpukit/score/cpu/no_cpu/rtems/score/cpu.h b/cpukit/score/cpu/no_cpu/rtems/score/cpu.h index 49b2d65385..ab81e649ef 100644 --- a/cpukit/score/cpu/no_cpu/rtems/score/cpu.h +++ b/cpukit/score/cpu/no_cpu/rtems/score/cpu.h @@ -336,74 +336,6 @@ extern "C" { #define CPU_STRUCTURE_ALIGNMENT /** - * @defgroup CPUTimestamp Processor Dependent Timestamp Support - * - * This group assists in issues related to timestamp implementation. - * - * The port must choose exactly one of the following defines: - * - #define CPU_TIMESTAMP_USE_STRUCT_TIMESPEC TRUE - * - #define CPU_TIMESTAMP_USE_INT64 TRUE - * - #define CPU_TIMESTAMP_USE_INT64_INLINE TRUE - * - * Performance of int64_t versus struct timespec - * ============================================= - * - * On PowerPC/psim, inlined int64_t saves ~50 instructions on each - * _Thread_Dispatch operation which results in a context switch. - * This works out to be about 10% faster dispatches and 7.5% faster - * blocking semaphore obtains. The following numbers are in instructions - * and from tm02 and tm26. - * - * timespec int64 inlined int64 - * dispatch: 446 446 400 - * blocking sem obtain: 627 626 581 - * - * On SPARC/sis, inlined int64_t shows the same percentage gains. - * The following numbers are in microseconds and from tm02 and tm26. - * - * timespec int64 inlined int64 - * dispatch: 59 61 53 - * blocking sem obtain: 98 100 92 - * - * Inlining appears to have a tendency to increase the size of - * some executables. - * Not inlining reduces the execution improvement but does not seem to - * be an improvement on the PowerPC and SPARC. The struct timespec - * and the executables with int64 not inlined are about the same size. - * - */ -/**@{**/ - -/** - * Selects the timestamp implementation using struct timespec. - * - * Port Specific Information: - * - * XXX document implementation including references if appropriate - */ -#define CPU_TIMESTAMP_USE_STRUCT_TIMESPEC TRUE - -/** - * Selects the timestamp implementation using int64_t and no inlined methods. - * - * Port Specific Information: - * - * XXX document implementation including references if appropriate - */ -#define CPU_TIMESTAMP_USE_INT64 TRUE - -/** - * Selects the timestamp implementation using int64_t and inlined methods. - * - * Port Specific Information: - * - * XXX document implementation including references if appropriate - */ -#define CPU_TIMESTAMP_USE_INT64_INLINE TRUE - -/** @} */ - -/** * @defgroup CPUEndian Processor Dependent Endianness Support * * This group assists in issues related to processor endianness. |