Mercurial > hg > Game > Cerium
changeset 1304:b606adda63fe draft
merge
author | Yutaka_Kinjyo <yutaka@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 13 Dec 2011 19:01:32 +0900 |
parents | 0229c8ce0327 (current diff) 2fa31362ead0 (diff) |
children | b8248a728fc0 ada0b6ff6575 |
files | |
diffstat | 2 files changed, 25 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/TaskManager/Fifo/FifoDmaManager.cc Tue Dec 13 19:00:53 2011 +0900 +++ b/TaskManager/Fifo/FifoDmaManager.cc Tue Dec 13 19:01:32 2011 +0900 @@ -102,4 +102,15 @@ } } +void +FifoDmaManager::start_profile() +{ + +} + +void +FifoDmaManager::stop_profile() +{ + +} /* end */
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/TaskManager/Fifo/rdtsc.h Tue Dec 13 19:01:32 2011 +0900 @@ -0,0 +1,14 @@ +#ifndef RDTSC_H_ +#define RDTSC_H_ + +/* + * rdtsc is Read Time Stamp Counter + */ + +inline unsigned long long rdtsc() { + unsigned long long ret; + __asm__ volatile ("rdtsc" : "=A" (ret)); + return ret; +} + +#endif /* RDTSC_H_ */