def SetTimestamp(self, timestamp): timestamp = uint64_t(timestamp) # SC_ERROR saveRecorderSetTimestamp( # saveRecorder hRecorder, # uint64_t timestamp) hsavec.saveRecorderSetTimestamp(self.hRecorder, timestamp)
def SetCountGlobal(self, count): count = uint64_t(count) # SC_ERROR saveRecorderSetCountGlobal( # saveRecorder hRecorder, # uint64_t count) hsavec.saveRecorderSetCountGlobal(self.hRecorder, count)
def PeekCountGlobal(self): count = uint64_t(0) # SC_ERROR saveRecorderPeekCountGlobal( # saveRecorder hRecorder, # uint64_t* pCount) hsavec.saveRecorderPeekCountGlobal(self.hRecorder, byref(count)) return count.value
def SetTimestamp(self, timestamp): timestamp = uint64_t(timestamp) # SC_ERROR saveWriterSetTimestamp( # saveWriter hWriter, # uint64_t timestamp) hsavec.saveWriterSetTimestamp( self.hWriter, timestamp)
def SetCountGlobal(self, count): count = uint64_t(count) # SC_ERROR saveWriterSetCountGlobal( # saveWriter hWriter, # uint64_t count) hsavec.saveWriterSetCountGlobal( self.hWriter, count)
def PeekCountPath(self): count = uint64_t(0) # SC_ERROR saveWriterPeekCountPath( # saveWriter hWriter, # uint64_t* pCount) hsavec.saveWriterPeekCountPath( self.hWriter, byref(count)) return count.value