tensorbay.client.profile

Statistical.

Profile is a class used to save statistical summary.

class tensorbay.client.profile.Profile[source]

Bases: object

This is a class used to save statistical summary.

save(path: str, file_type: str = 'txt') None[source]

Save the statistical summary into a file.

Parameters
  • path – The file local path.

  • file_type – Type of the save file, only support ‘txt’, ‘json’, ‘csv’.

start(multiprocess: bool = False) None[source]

Start statistical record.

Parameters

multiprocess – Whether the records is in a multi-process environment.

stop() None[source]

Stop statistical record.