MCPcopy Create free account
hub / github.com/Atarity/Lightpack / start

Method start

Software/src/speedtest.cpp:64–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62
63
64void SpeedTest::start()
65{
66 QString filePath = Settings::getApplicationDirPath() + "/SpeedTest.csv";
67
68 resultFile.setFileName( filePath );
69
70 bool IsFileExists = false;
71 if( resultFile.exists() ){
72 IsFileExists = true;
73 }
74
75 if(resultFile.open(QIODevice::WriteOnly | QIODevice::Append | QIODevice::Text)){
76 resultStream.setDevice(&resultFile);
77
78 if( IsFileExists == false ){
79 printHeader();
80 }
81
82 startTests();
83
84 }else{
85 qWarning() << Q_FUNC_INFO << "Can't open file:" << filePath;
86 }
87}
88
89
90void SpeedTest::printHeader()

Callers 15

restartPingDeviceMethod · 0.45
startBacklightMethod · 0.45
startApiServerMethod · 0.45
startLedDeviceManagerMethod · 0.45
settingsChangedMethod · 0.45
freeMethod · 0.45
StartMethod · 0.45
changePageMethod · 0.45
showAboutMethod · 0.45
startTestsClickMethod · 0.45
setColorsMethod · 0.45

Calls 1

openMethod · 0.45

Tested by

no test coverage detected