Search:
Login
Preferences
Help/Guide
About Trac
Wiki
Timeline
Roadmap
Browse Source
View Tickets
Search
Context Navigation
Reverse Diff
Changes in
benchmark/ctxswitch/cfa_thrd.cfa
[dc33b5b:5e49e47]
View differences
inline
side by side
Show
lines around each change
Show the changes in full context
Ignore:
Blank lines
Case changes
White space changes
File:
1 edited
benchmark/ctxswitch/cfa_thrd.cfa
(modified)
(
3 diffs
)
Legend:
Unmodified
Added
Removed
benchmark/ctxswitch/cfa_thrd.cfa
rdc33b5b
r5e49e47
1
#include <stdio.h>
1
2
#include <thread.hfa>
2
3
…
…
5
6
int main(int argc, char* argv[]) {
6
7
BENCH(
7
for (
i; n
) {
8
for (
size_t i = 0; i < n; i++
) {
8
9
yield();
9
10
},
…
…
11
12
)
12
13
13
printf("%
g
\n", result);
14
printf("%
llu
\n", result);
14
15
}
Note:
See
TracChangeset
for help on using the changeset viewer.
Download in other formats:
Unified Diff
Zip Archive