MCPcopy Create free account
hub / github.com/BabitMF/bmf / make

Method make

bmf/sdk/cpp_sdk/src/module_manager.cpp:93–102  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

91 }
92
93 std::shared_ptr<Module> make(int32_t node_id = -1,
94 const JsonParam &json_param = {}) override {
95 StatTimer timer(bmf_stat_enabled());
96 BMFLOG(BMF_INFO) << "Constructing c++ module" << std::endl;
97 auto module =
98 ModuleRegistry::ConstructModule(class_name_, node_id, json_param);
99 module->create_time_ = timer.elapsed();
100 BMFLOG(BMF_INFO) << "c++ module constructed" << std::endl;
101 return module;
102 }
103};
104
105ModuleManager::ModuleManager() {

Callers 4

TESTFunction · 0.45
make_sync_funcFunction · 0.45
bmf_module_functor_makeFunction · 0.45
make_sync_funcFunction · 0.45

Calls 2

bmf_stat_enabledFunction · 0.85
elapsedMethod · 0.45

Tested by 1

TESTFunction · 0.36