def get_clock_type(): """ Returns the OS api used for timing plus the precision and the clock type information in a dict. """ return _yappi.get_clock_type()
def get(self): self._clock_type = _yappi.get_clock_type()["type"] return self.sort(DEFAULT_SORT_TYPE, DEFAULT_SORT_ORDER)
def get_clock_type(): """ Returns the underlying clock type """ return _yappi.get_clock_type()
def get(self): self._clock_type = _yappi.get_clock_type() self.sort(DEFAULT_SORT_TYPE, DEFAULT_SORT_ORDER) return self