mirror of
https://github.com/yse/easy_profiler.git
synced 2024-12-25 07:20:51 +08:00
Gramma fix #133
This commit is contained in:
parent
e2fa76cb15
commit
cce8431484
@ -382,7 +382,7 @@ bool setPrivilege(HANDLE hToken, PTCHAR _privelegeName)
|
||||
|
||||
EASY_LOG_ONLY(
|
||||
if (!success)
|
||||
EASY_WARNING("Failed to set " << _privelegeName << " privelege for the application.\n");
|
||||
EASY_WARNING("Failed to set " << _privelegeName << " privilege for the application.\n");
|
||||
)
|
||||
|
||||
return success;
|
||||
@ -411,7 +411,7 @@ void EasyEventTracer::setProcessPrivileges()
|
||||
}
|
||||
EASY_LOG_ONLY(
|
||||
else {
|
||||
EASY_WARNING("Failed to open process to adjust priveleges.\n");
|
||||
EASY_WARNING("Failed to open process to adjust privileges.\n");
|
||||
}
|
||||
)
|
||||
}
|
||||
|
@ -207,7 +207,7 @@ int foo()
|
||||
|
||||
Event marker is a block with zero duration and special type.
|
||||
|
||||
\warning Event marker ends immidiately and calling EASY_END_BLOCK after EASY_EVENT
|
||||
\warning Event marker ends immediately and calling EASY_END_BLOCK after EASY_EVENT
|
||||
will end previously opened EASY_BLOCK or EASY_FUNCTION.
|
||||
|
||||
\ingroup profiler
|
||||
@ -370,7 +370,7 @@ Otherwise, no log messages will be printed.
|
||||
# define EASY_OPTION_LOG_ENABLED 0
|
||||
# endif
|
||||
|
||||
/** If != 0 then EasyProfiler will start listening thread immidiately on ProfileManager initialization.
|
||||
/** If != 0 then EasyProfiler will start listening thread immediately on ProfileManager initialization.
|
||||
|
||||
\sa startListen
|
||||
|
||||
@ -576,7 +576,7 @@ namespace profiler {
|
||||
|
||||
\note This also disables profiler.
|
||||
|
||||
\retval Number of saved blocks. If 0 then nothing was profiled or an error occured.
|
||||
\retval Number of saved blocks. If 0 then nothing was profiled or an error occurred.
|
||||
|
||||
\ingroup profiler
|
||||
*/
|
||||
|
@ -3221,7 +3221,7 @@ void SocketListener::listenCapture()
|
||||
|
||||
const auto dt = std::chrono::duration_cast<std::chrono::milliseconds>(std::chrono::system_clock::now() - timeBegin);
|
||||
const auto bytesNumber = m_receivedData.str().size();
|
||||
qInfo() << "recieved " << bytesNumber << " bytes, " << dt.count() << " ms, average speed = " << double(bytesNumber) * 1e3 / double(dt.count()) / 1024. << " kBytes/sec";
|
||||
qInfo() << "received " << bytesNumber << " bytes, " << dt.count() << " ms, average speed = " << double(bytesNumber) * 1e3 / double(dt.count()) / 1024. << " kBytes/sec";
|
||||
|
||||
seek = 0;
|
||||
bytes = 0;
|
||||
|
@ -1,5 +1,5 @@
|
||||
if [ "$#" -ne 1 ]; then
|
||||
echo -e "Usage: \n$0 DIRECTORY\n\twhere DIRECTORY is a derectory with sources for styling"
|
||||
echo -e "Usage: \n$0 DIRECTORY\n\twhere DIRECTORY is a directory with sources for styling"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user