Skip to contentSkip to conversation

Philippe Gerum : lib/cobalt: unexport asm/xenomai/tsc.h

Xenomai Gilles Chanteperdrix 2 participants 2 messages Jul 6, 2013 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 9 lines · git repository hosting
Module: xenomai-forge
Branch: next
Commit: 3f2346392969710381545906be4e16a6d4ca2f97
URL:    http://git.xenomai.org/?p=xenomai-forge.git;a=commit;h=3f2346392969710381545906be4e16a6d4ca2f97
Author: Philippe Gerum <[email protected]>
Date:   Sat Jul  6 15:51:01 2013 +0200

lib/cobalt: unexport asm/xenomai/tsc.h

Since tsc may be used to measure really short durations, so with the least possible overhead, maybe it makes sense to continue exporting __xn_rdtsc for such uses.

Signature · 1 line
Gilles.
#2 lore raw
Quoted 8 lines · Gilles Chanteperdrix
Quoted 7 lines · git repository hosting

Module: xenomai-forge
Branch: next
Commit: 3f2346392969710381545906be4e16a6d4ca2f97
URL:
http://git.xenomai.org/?p=xenomai-forge.git;a=commit;h=3f2346392969710381545906be4e16a6d4ca2f97

Quoted 9 lines
Quoted 4 lines
Author: Philippe Gerum <[email protected]>
Date:   Sat Jul  6 15:51:01 2013 +0200

lib/cobalt: unexport asm/xenomai/tsc.h

Since tsc may be used to measure really short durations, so with the least possible overhead, maybe it makes sense to continue exporting __xn_rdtsc for such uses.

There is no users of such interface at application level. Inner code from lib/cobalt or copperplate do access this helper inline though.

Signature · 1 line
Philippe.