centralized performance resources
This commit is contained in:
commit
50b15a1522
63 changed files with 328466 additions and 0 deletions
2
perf-cpp/scripts/io/chapter-1.in
Normal file
2
perf-cpp/scripts/io/chapter-1.in
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
1
|
||||
2
|
||||
7
perf-cpp/scripts/io/chapter-1.out
Normal file
7
perf-cpp/scripts/io/chapter-1.out
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
Enter a number:
|
||||
Enter another number:
|
||||
Diff: -1; Sum: 3
|
||||
|
||||
[code]: 0
|
||||
[time]: 2.52771 ms
|
||||
[debug]: false
|
||||
0
perf-cpp/scripts/io/file.in
Normal file
0
perf-cpp/scripts/io/file.in
Normal file
14
perf-cpp/scripts/io/file.out
Normal file
14
perf-cpp/scripts/io/file.out
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
file.cc: In function ‘int main()’:
|
||||
file.cc:66:23: error: narrowing conversion of ‘3.0e+0’ from ‘double’ to ‘int’ [-Wnarrowing]
|
||||
66 | vector<int> a= { 3.0};
|
||||
| ^
|
||||
file.cc: At global scope:
|
||||
file.cc:39:13: warning: ‘void YES()’ defined but not used [-Wunused-function]
|
||||
39 | static void YES() {
|
||||
| ^~~
|
||||
file.cc:35:13: warning: ‘void NO()’ defined but not used [-Wunused-function]
|
||||
35 | static void NO() {
|
||||
| ^~
|
||||
cc1plus: note: unrecognized command-line option ‘-Wno-sign-promotion’ may have been intended to silence earlier diagnostics
|
||||
|
||||
[code]: 1
|
||||
Loading…
Add table
Add a link
Reference in a new issue