MCPcopy Create free account
hub / github.com/FreesmTeam/FreesmLauncher / executeTask

Method executeTask

launcher/minecraft/launch/PrintInstanceInfo.cpp:116–134  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

114#endif
115
116void PrintInstanceInfo::executeTask()
117{
118 auto instance = m_parent->instance();
119 QStringList log;
120
121#if defined(Q_OS_LINUX)
122 ::probeProcCpuinfo(log);
123 ::runLspci(log);
124 ::runGlxinfo(log);
125#elif defined(Q_OS_FREEBSD)
126 ::runSysctlHwModel(log);
127 ::runPciconf(log);
128 ::runGlxinfo(log);
129#endif
130
131 logLines(log, MessageLevel::Launcher);
132 logLines(instance->verboseDescription(m_session, m_targetToJoin), MessageLevel::Launcher);
133 emitSucceeded();
134}

Callers

nothing calls this directly

Calls 7

probeProcCpuinfoFunction · 0.85
runLspciFunction · 0.85
runGlxinfoFunction · 0.85
runSysctlHwModelFunction · 0.85
runPciconfFunction · 0.85
instanceMethod · 0.45
verboseDescriptionMethod · 0.45

Tested by

no test coverage detected