ADT
arm-eh
ast-experimental
enum
forall-pointer-decay
jacob/cs343-translation
jenkins-sandbox
new-ast
new-ast-unique-expr
pthread-emulation
qualifiedEnum
stuck-waitfor-destruct
|
Last change
on this file since e15683e was e15683e, checked in by Thierry Delisle <tdelisle@…>, 6 years ago |
|
Added benchmark for data sizes
|
-
Property mode
set to
100644
|
|
File size:
396 bytes
|
| Line | |
|---|
| 1 | #include <coroutine.hfa>
|
|---|
| 2 | #include <kernel.hfa>
|
|---|
| 3 | #include <monitor.hfa>
|
|---|
| 4 | #include <thread.hfa>
|
|---|
| 5 |
|
|---|
| 6 | int main(){
|
|---|
| 7 | printf("Coroutine : %ud bytes\n", sizeof( $coroutine ));
|
|---|
| 8 | printf("Monitor : %ud bytes\n", sizeof( $monitor ));
|
|---|
| 9 | printf("Thread : %ud bytes\n", sizeof( $thread ));
|
|---|
| 10 | printf("Processor : %ud bytes\n", sizeof( processor ));
|
|---|
| 11 | printf("Cluster : %ud bytes\n", sizeof( cluster ));
|
|---|
| 12 | }
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.