source: benchmark/size/size.cfa @ e15683e

ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
Last change on this file since e15683e was e15683e, checked in by Thierry Delisle <tdelisle@…>, 4 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
6int 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.