pjrt

FilesArtifactDumper

FilesArtifactDumper

#include <debugging.h>
class FilesArtifactDumper

Defined in integrations/pjrt/src/iree_pjrt/common/debugging.h:111

Inherits: ArtifactDumper

List of all members

NameKindOwner
FilesArtifactDumperfunctionDeclared here
~FilesArtifactDumperfunctionDeclared here
CreateTransactionfunctionDeclared here
DebugStringfunctionDeclared here
PathCallbacktypedefDeclared here
logger_variableDeclared here
next_transaction_id_variableDeclared here
path_callback_variableDeclared here
retain_all_variableDeclared here
~ArtifactDumperfunctionInherited from ArtifactDumper
enabledfunctionInherited from ArtifactDumper
CreateTransactionfunctionInherited from ArtifactDumper
DebugStringfunctionInherited from ArtifactDumper
enabled_variableInherited from ArtifactDumper

Inherited from ArtifactDumper

KindNameDescription
function~ArtifactDumper virtual
functionenabled inline
functionCreateTransaction virtual
functionDebugString virtual
variableenabled_

Public Methods

ReturnNameDescription
FilesArtifactDumper
~FilesArtifactDumper override
std::unique_ptr< Transaction >CreateTransaction virtual override
std::stringDebugString virtual override

FilesArtifactDumper

FilesArtifactDumper(Logger & logger, PathCallback path_callback, bool retain_all)

Defined in integrations/pjrt/src/iree_pjrt/common/debugging.h:116


~FilesArtifactDumper

override

~FilesArtifactDumper() override

Defined in integrations/pjrt/src/iree_pjrt/common/debugging.h:118


CreateTransaction

virtual override

virtual std::unique_ptr< Transaction > CreateTransaction() override

Defined in integrations/pjrt/src/iree_pjrt/common/debugging.h:120

Reimplements


DebugString

virtual override

virtual std::string DebugString() override

Defined in integrations/pjrt/src/iree_pjrt/common/debugging.h:121

Reimplements

Public Types

NameDescription
PathCallback

PathCallback

using PathCallback = std::function< std::optional< std::string >()>

Defined in integrations/pjrt/src/iree_pjrt/common/debugging.h:114

Private Attributes

ReturnNameDescription
Logger &logger_
std::atomic< int64_t >next_transaction_id_
PathCallbackpath_callback_
boolretain_all_

logger_

Logger & logger_

Type: Logger &

Defined in integrations/pjrt/src/iree_pjrt/common/debugging.h:124


next_transaction_id_

std::atomic< int64_t > next_transaction_id_ {0}

Defined in integrations/pjrt/src/iree_pjrt/common/debugging.h:125


path_callback_

PathCallback path_callback_

Type: PathCallback

Defined in integrations/pjrt/src/iree_pjrt/common/debugging.h:126


retain_all_

bool retain_all_

Defined in integrations/pjrt/src/iree_pjrt/common/debugging.h:127