Searched refs:printf (Results 1 - 25 of 64) sorted by relevance

123

/gem5/tests/test-progs/m5-exit/src/
H A Dm5-exit.c15 printf("FAIL!\n");
16 printf("Program should have exited due to the magic m5_exit"
/gem5/src/systemc/tests/systemc/tracing/wif_trace/pct1/
H A Dmonitor.cpp45 printf("%x", tx.read());
/gem5/tests/test-progs/hello/src/
H A Dhello.c35 printf("Hello world!\n");
/gem5/ext/fputils/tests/
H A Dtest_helper.h44 __attribute__((format (printf, 1, 2), noreturn));
47 __attribute__((format (printf, 1, 2)));
54 __attribute__((format (printf, 2, 3)));
57 __attribute__((format (printf, 2, 3)));
H A Dtest_helper.c49 printf("1..%u\n", no_tests);
67 printf("Bail out! ");
69 printf("\n");
82 printf("# ");
84 printf("\n");
94 printf("%s %i", status, test_current);
97 printf(" - %s", test);
100 printf(" # %s ", directive);
104 printf("\n");
109 static void __attribute__((format (printf,
[all...]
/gem5/ext/nomali/tests/
H A Dtest_helpers.h38 __attribute__((format (printf, 1, 2), noreturn));
41 __attribute__((format (printf, 1, 2)));
48 __attribute__((format (printf, 2, 3)));
51 __attribute__((format (printf, 2, 3)));
H A Dtest_helpers.c39 printf("1..%u\n", no_tests);
57 printf("Bail out! ");
59 printf("\n");
72 printf("# ");
74 printf("\n");
84 printf("%s %i", status, test_current);
87 printf(" - %s", test);
90 printf(" # %s ", directive);
94 printf("\n");
99 static void __attribute__((format (printf,
[all...]
/gem5/ext/googletest/googletest/samples/
H A Dsample4.cc45 printf("%d", counter_);
/gem5/tests/test-progs/chdir-print/
H A Dchdir-print.c49 printf("cwd: %s\n", cwd);
55 printf("cwd: %s\n", cwd);
65 printf("%s", buffer);
74 printf("SUCCESS\n");
78 printf("FAILURE\n");
/gem5/ext/googletest/googletest/src/
H A Dgtest_main.cc35 printf("Running main() from gtest_main.cc\n");
/gem5/ext/googletest/googletest/test/
H A Dgtest_catch_exceptions_test_.cc113 printf("%s",
145 printf("%s",
163 printf("%s",
173 printf("%s",
180 printf("%s",
186 printf("%s",
192 printf("%s",
199 printf("%s",
216 printf("%s",
223 printf("
[all...]
H A Dgtest_color_test_.cc64 printf("YES\n");
68 printf("NO\n");
H A Dgtest_output_test_.cc122 printf("(expecting a failure that x should be 1)\n");
129 printf("(expecting a failure that x should be 1)\n");
146 printf("(expecting a failure on false)\n");
157 printf("(expecting 2 failures on (3) >= (a[i]))\n");
159 printf("i == %d\n", i);
181 printf("(expected to fail)\n");
200 printf("(expected to fail)\n");
211 printf("(expected to fail)\n");
219 printf("(expected to fail)\n");
228 printf("(expecte
[all...]
H A Dgtest_throw_on_failure_ex_test.cc46 printf("FAILURE: %s\n", msg);
70 printf("%s",
/gem5/tests/test-progs/stack-print/src/
H A Dstack-print.c43 printf("%p: argc: [%d]\n", &argc, argc);
44 printf("\n");
47 printf("%p: argv[%d]: [%s]\n", &argv[i], i, argv[i]);
48 printf("\n");
52 printf("%p: envp[%d]: [%s]\n", &envp[i], i, envp[i]);
55 printf("\n");
159 printf("\n");
162 printf("%p: %s: [%lx]\n", auxv, type, auxv->a_un.a_val);
/gem5/tests/test-progs/gpu-hello/src/
H A Dgpu-hello.cpp80 printf("%s:%d: error: %s\n", __FILE__, __LINE__,
108 printf("Error: Getting Platforms. (clGetPlatformsIDs)\n");
116 printf("Error: Getting Platform Ids. (clGetPlatformsIDs)\n");
124 printf("Error: Getting Platform Info.(clGetPlatformInfo)\n");
136 printf("NULL platform found so Exiting Application.\n");
146 printf("Error: Creating Context. (clCreateContextFromType)\n");
155 printf("Error: Getting Context Info (1st clGetContextInfo)\n");
162 printf("Error: No devices found.\n");
168 printf("Error: Getting Context Info (2nd clGetContextInfo)\n");
175 printf("Creatin
[all...]
/gem5/ext/systemc/src/sysc/qt/time/
H A Dassim33 printf ("init %s | %f\n", m, init);
40 printf ("swap %s | %f | %f | %f\n", m, abort, blocki, blockf);
H A Dcswap35 printf ("%s|%3.1f|%3.1f\n", m, integer, fp);
H A Dgo41 printf ("%s|%3.1f|%3.1f|%3.1f|%3.1f|%3.1f\n", m, single, v0, v2, v4, v8);
H A Dinit40 printf ("%s|%3.1f|%3.1f|%3.1f|%3.1f|%3.1f\n", m, single, v0, v2, v4, v8);
H A Dprim39 printf ("%s|%1.3f|%1.3f|%1.3f|%1.3f\n", m, ind, imm, add, load);
/gem5/src/systemc/tests/systemc/misc/sim_tests/simple_cpu/
H A Dsimple_cpu.cpp76 printf("Not enough memory left\n");
107 printf("CPU Halted\n");
108 printf("\tPC = 0x%x\n", pc);
110 printf("\tR[%d] = %x\n", i, cpu_reg[i]);
116 printf("Store: Memory[0x%x] = R[%d]\n", addr, regnum1);
124 printf("Load: R[%d] = Memory[0x%x]\n", regnum1, addr);
133 printf("R[%d] = R[%d] + R[%d]\n", regnum3, regnum1, regnum2);
142 printf("R[%d] = R[%d] - R[%d]\n", regnum3, regnum1, regnum2);
151 printf("R[%d] = R[%d] * R[%d]\n", regnum3, regnum1, regnum2);
160 printf("
[all...]
/gem5/tests/test-progs/mwait/
H A Dmwait.c67 printf("mwait regression PASSED, flags[0] = %d\n", flags[0]);
69 printf("mwait regression FAILED, flags[0] = %d\n", flags[0]);
/gem5/src/systemc/tests/systemc/datatypes/int/misc/test02/
H A Dtest02.cpp7 printf(" %08x_%08x_%08x_%08x\n",
15 printf(" %08x_%08x_%08x_%08x\n",
35 printf("%s(%d): %s: %llx != %llx\n", \
45 printf("%s(%d): %s: %llx != %llx\n", \
55 printf("%s(%d): %s: %llx != %llx\n", \
/gem5/tests/
H A Ddiff-out269 printf("Maximum error magnitude: %+f%%\n\n", $max_err_mag);
271 printf(" %-30s %10s %10s %10s %7s\n", ' ', 'Reference', 'New Value', 'Abs Diff', 'Pct Chg');
273 printf("Key statistics:\n\n");
285 printf(" %-30s $fmt $fmt $fmt %+7.2f%%\n",
290 printf("\nDifferences > %d%%:\n\n", $err_thresh);
315 printf(" %-30s $fmt $fmt $fmt %+7.2f%%\n",
338 printf " %-50s ", $stat;
358 printf " %-50s ", $stat;

Completed in 18 milliseconds

123