0
0
mirror of https://github.com/yse/easy_profiler.git synced 2024-12-25 23:40:51 +08:00
This commit is contained in:
Sergey Yagovtsev 2018-10-04 13:10:42 +03:00
parent e2fa76cb15
commit cce8431484
4 changed files with 7 additions and 7 deletions

View File

@ -382,7 +382,7 @@ bool setPrivilege(HANDLE hToken, PTCHAR _privelegeName)
EASY_LOG_ONLY( EASY_LOG_ONLY(
if (!success) 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; return success;
@ -411,7 +411,7 @@ void EasyEventTracer::setProcessPrivileges()
} }
EASY_LOG_ONLY( EASY_LOG_ONLY(
else { else {
EASY_WARNING("Failed to open process to adjust priveleges.\n"); EASY_WARNING("Failed to open process to adjust privileges.\n");
} }
) )
} }

View File

@ -207,7 +207,7 @@ int foo()
Event marker is a block with zero duration and special type. 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. will end previously opened EASY_BLOCK or EASY_FUNCTION.
\ingroup profiler \ingroup profiler
@ -370,7 +370,7 @@ Otherwise, no log messages will be printed.
# define EASY_OPTION_LOG_ENABLED 0 # define EASY_OPTION_LOG_ENABLED 0
# endif # 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 \sa startListen
@ -576,7 +576,7 @@ namespace profiler {
\note This also disables 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 \ingroup profiler
*/ */

View File

@ -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 dt = std::chrono::duration_cast<std::chrono::milliseconds>(std::chrono::system_clock::now() - timeBegin);
const auto bytesNumber = m_receivedData.str().size(); 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; seek = 0;
bytes = 0; bytes = 0;

View File

@ -1,5 +1,5 @@
if [ "$#" -ne 1 ]; then 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 exit 1
fi fi