Не могу понять, что возвращает данная функция.
>>>time.clock() 0.03 >>>time.clock() 0.03 >>>time.clock() 0.03 >>>type(time.clock()) <type 'float'>
Из доков:
On Unix, return the current processor time as a floating point number expressed in seconds. The precision, and in fact the very definition of the meaning of “processor time”, depends on that of the C function of the same name, but in any case, this is the function to use for benchmarking Python or timing algorithms.
Но что это за “текущее время процессора” такое?
Питон двойка, ось убунта.
Подскажите, пожалуйста.