mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-22 22:44:34 +00:00
Make capture output better suited for 80-char-wide terminals.
This commit is contained in:
parent
776d8336e7
commit
5a2a58f68f
@ -158,7 +158,7 @@ int main( int argc, char** argv )
|
|||||||
{
|
{
|
||||||
printf( "\33[2K\r\033[36;1m%7.2f Mbps", mbps );
|
printf( "\33[2K\r\033[36;1m%7.2f Mbps", mbps );
|
||||||
}
|
}
|
||||||
printf( " \033[0m /\033[36;1m%5.1f%% \033[0m=\033[33;1m%7.2f Mbps \033[0m| \033[33mNet: \033[32m%s \033[0m| \033[33mMem: \033[31;1m%s\033[0m | \033[33mTime: %s\033[0m",
|
printf( " \033[0m /\033[36;1m%5.1f%% \033[0m=\033[33;1m%7.2f Mbps \033[0m| \033[33mTx: \033[32m%s \033[0m| \033[31;1m%s\033[0m | \033[33m%s\033[0m",
|
||||||
compRatio * 100.f,
|
compRatio * 100.f,
|
||||||
mbps / compRatio,
|
mbps / compRatio,
|
||||||
tracy::MemSizeToString( netTotal ),
|
tracy::MemSizeToString( netTotal ),
|
||||||
|
Loading…
Reference in New Issue
Block a user