ast-experimental
Last change
on this file since f77f648d was 716b62c, checked in by Thierry Delisle <tdelisle@…>, 4 years ago |
Added rust and cpu example.
|
-
Property mode
set to
100644
|
File size:
210 bytes
|
Rev | Line | |
---|
[716b62c] | 1 | #include <fstream.hfa>
|
---|
| 2 | #include <device/cpu.hfa>
|
---|
| 3 |
|
---|
| 4 | int main() {
|
---|
| 5 | for(i; cpu_info.hthrd_count) {
|
---|
| 6 | cpu_info.llc_map[i];
|
---|
| 7 | const cpu_map_entry_t & e = cpu_info.llc_map[i];
|
---|
| 8 | sout | e.self | e.start | e.count;
|
---|
| 9 | }
|
---|
| 10 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.