MCPcopy Index your code
hub / github.com/cirosantilli/linux-kernel-module-cheat / print_time

Method print_time

common.py:950–952  ·  view source on GitHub ↗
(self, ellapsed_seconds)

Source from the content-addressed store, hash-verified

948 return '{:02}:{:02}:{:02}'.format(int(hours), int(minutes), int(seconds))
949
950 def print_time(self, ellapsed_seconds):
951 if self.env['print_time'] and not self.env['quiet']:
952 print('time {}'.format(self.seconds_to_hms(ellapsed_seconds)))
953
954 def raw_to_qcow2(self, prebuilt=False, reverse=False):
955 if prebuilt or not os.path.exists(self.env['qemu_img_executable']):

Callers 1

mainMethod · 0.95

Calls 1

seconds_to_hmsMethod · 0.95

Tested by

no test coverage detected