36int main(
int argc,
char** argv) {
44 for (
auto&& i = dag_list.begin(); i != dag_list.end(); i++) {
46 for (
size_t j = 0; j < (*i).length(); j++) {
47 pos = ((*i)[j] ==
'/') ? j: pos;
49 if (i != dag_list.begin()) dag_info +=
"_";
55 (pos == (*i).length()-1) ? (*i).substr(pos): (*i).substr(pos+1);
60 apollo::cyber::mainboard::DEFAULT_process_group_) {
69 std::signal(SIGTERM, [](
int sig){
71 if (enable_cpu_profile) {
75 if (enable_mem_profile) {
76 HeapProfilerDump(
"Befor shutdown");
88 if (!controller.
Init()) {
90 AERROR <<
"module start error.";
106 HeapProfilerDump(
"Befor shutdown");
111 AINFO <<
"exit mainboard.";
const bool GetEnableHeapprofile() const
const std::list< std::string > & GetDAGConfList() const
const bool GetEnableCpuprofile() const
const std::string & GetProcessGroup() const
void ParseArgument(int argc, char *const argv[])
const std::string GetHeapProfileFilename() const
const std::string GetProfileFilename() const
int main(int argc, char **argv)