00001 //Copyright GSI 2012 00002 #include <fesa-core-gsi/Synchronization/TimingContextSCU.h> 00003 00004 namespace fesaGSI 00005 { 00006 TimingContextSCU::TimingContextSCU(long long cycleStamp, const std::string& cycleName) : 00007 fesa::TimingContext() 00008 { 00009 timeStamp_ = cycleStamp; 00010 cycleStamp_ = cycleStamp; 00011 cycleName_ = cycleName; 00012 } 00013 00014 int64_t TimingContextSCU::getInterruptTimeStamp() 00015 { 00016 return timeStamp_; 00017 } 00018 00019 00020 uint32_t TimingContextSCU::getCycleTime() 00021 { 00022 return timeStamp_; 00023 } 00024 00025 00026 00027 00028 }//end namespace 00029