24 #ifndef PXR_BASE_TF_STACK_TRACE_H
25 #define PXR_BASE_TF_STACK_TRACE_H
28 #include "pxr/base/tf/api.h"
35 PXR_NAMESPACE_OPEN_SCOPE
40 TF_API std::string TfGetStackTrace();
44 void TfPrintStackTrace(FILE *file,
const std::string &reason);
48 void TfPrintStackTrace(std::ostream &out, std::string
const &reason);
56 void TfLogStackTrace(
const std::string &reason,
bool logtodb=
false);
68 void TfLogCrash(
const std::string &reason,
69 const std::string &message,
const std::string &additionalInfo,
70 TfCallContext
const &context,
bool logToDB);
74 time_t TfGetAppLaunchTime();
76 PXR_NAMESPACE_CLOSE_SCOPE