Skip to content

Commit 69cba4e

Browse files
committed
added back linking shared lib timing after accidently removing it
Signed-off-by: Paramvir Sran <[email protected]>
1 parent f95a047 commit 69cba4e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Compiler/CompilerUtils.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -446,6 +446,7 @@ static int genJniObject(const mlir::OwningOpRef<ModuleOp> &module,
446446
static int genSharedLib(std::string sharedLibNameWithExt,
447447
std::vector<std::string> opts, std::vector<std::string> objs,
448448
std::vector<std::string> libs, std::vector<std::string> libDirs) {
449+
auto sharedLibTiming = rootTimingScope.nest("[onnx-mlir] Linking Shared Library");
449450
#ifdef _WIN32
450451
std::vector<std::string> outputOpt = {"/Fe:" + sharedLibNameWithExt};
451452
// link has to be before libpath since they need to be passed through to the

0 commit comments

Comments
 (0)