Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
luna
LuNA
Commits
32540954
Commit
32540954
authored
Nov 28, 2019
by
Kostya
Browse files
final
parent
0ecf94ad
Changes
2
Hide whitespace changes
Inline
Side-by-side
include/common.h
View file @
32540954
...
...
@@ -6,13 +6,13 @@
#include <stdexcept>
#include <string>
#define _def_ "\033[0m" // default color
#define _blue_b1 "\033[34;1m" // blue color with bold text
#define _green_b1 "\033[1;32m" // green color with bold text
#define _b1_ "\033[1m" // default color with bold text
#define _grey_ "\033[2m" // semi bright color
#define _yellow_b1 "\033[1;33m" // yellow color with bold text
#define _red_b1 "\033[1;31m" // red color with bold text
#define _def_
"\033[0m" // default color
#define _blue_b1
"\033[34;1m" // blue color with bold text
#define _green_b1
"\033[1;32m" // green color with bold text
#define _b1_
"\033[1m" // default color with bold text
#define _grey_
"\033[2m" // semi bright color
#define _yellow_b1
"\033[1;33m" // yellow color with bold text
#define _red_b1
"\033[1;31m" // red color with bold text
#define SHOW_EXEC_TIME if(false)
...
...
@@ -46,7 +46,7 @@
#define ERROR(msg) {\
assert(!_prefix.empty());\
fprintf(stderr, "%s
"
_red_b1
"
ERROR:
" _def_ ""
_b1_
"
%s" _def_ " " \
fprintf(stderr, "%s _red_b1 ERROR: _b1_ %s" _def_ " " \
"" _grey_ "%s:%d" _def_ "\n", _prefix.c_str(), \
std::string(msg).c_str(), \
__FILE__, __LINE__);\
...
...
src/rts/rts.cpp
View file @
32540954
...
...
@@ -85,7 +85,7 @@ int RTS::run()
SHOW_EXEC_TIME
if
(
comm_
->
is_root
())
{
printf
(
""
_b1_
"NORMAL SYSTEM STOP: %lf sec"
_def_
"
\n
"
,
printf
(
_b1_
"NORMAL SYSTEM STOP: %lf sec"
_def_
"
\n
"
,
wtime
()
-
start_time
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment