Changeset ce9338c
- Timestamp:
- Feb 24, 2020, 2:37:26 PM (5 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- dd9e1ca
- Parents:
- e15683e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified benchmark/size/size.cfa ¶
re15683e rce9338c 1 #include <coroutine.hfa>2 1 #include <kernel.hfa> 3 #include <monitor.hfa>4 #include <thread.hfa>5 2 6 3 int main(){ 7 printf("Coroutine : % udbytes\n", sizeof( $coroutine ));8 printf("Monitor : % udbytes\n", sizeof( $monitor ));9 printf("Thread : % udbytes\n", sizeof( $thread ));10 printf("Processor : % udbytes\n", sizeof( processor ));11 printf("Cluster : % udbytes\n", sizeof( cluster ));4 printf("Coroutine : %zu bytes\n", sizeof( $coroutine )); 5 printf("Monitor : %zu bytes\n", sizeof( $monitor )); 6 printf("Thread : %zu bytes\n", sizeof( $thread )); 7 printf("Processor : %zu bytes\n", sizeof( processor )); 8 printf("Cluster : %zu bytes\n", sizeof( cluster )); 12 9 }
Note: See TracChangeset
for help on using the changeset viewer.