from ._timing_c cimport GraphTime as CGraphTime, GraphTimeDelta as CGraphTimeDelta, GraphInterval as CGraphInterval, SampleNumber, SamplingConfiguration

cdef class SaleaeTime:
    cdef CGraphTime _inner

    @staticmethod
    cdef from_sample_number(SampleNumber sample_number, const SamplingConfiguration& sampling_config)

cdef class SaleaeTimeDelta:
    cdef CGraphTimeDelta _inner

cdef class SaleaeTimeInterval:
    cdef CGraphInterval _inner
    cdef object _cached_begin
    cdef object _cached_end

GraphTime = SaleaeTime
GraphTimeDelta = SaleaeTimeDelta
