Mercurial > hg > Members > kono > Cerium
diff example/get_segment/ppe/Hello1.cc @ 836:cc06efc75ad9
example fix 50%
author | tkaito |
---|---|
date | Tue, 25 May 2010 19:13:28 +0900 |
parents | 60aa3f241b10 |
children |
line wrap: on
line diff
--- a/example/get_segment/ppe/Hello1.cc Tue May 25 03:41:10 2010 +0900 +++ b/example/get_segment/ppe/Hello1.cc Tue May 25 19:13:28 2010 +0900 @@ -33,8 +33,10 @@ #endif - smanager->fprintf(smanager->stderr_,"Hello1 sizeof(int) = [%d] sizeof(void*)=[%d]\n", (int)sizeof(int),(int)sizeof(void*)); - smanager->fprintf(smanager->stderr_,"[%d] Main Mem %0lx len %d\n", task_id, (unsigned long)next,(int)SIZE); + //smanager->fprintf(smanager->stderr_,"Hello1 sizeof(int) = [%d] sizeof(void*)=[%d]\n", (int)sizeof(int),(int)sizeof(void*)); + //smanager->fprintf(smanager->stderr_,"[%d] Main Mem %0lx len %d\n", task_id, (unsigned long)next,(int)SIZE); + smanager->printf("Hello1 sizeof(int) = [%d] sizeof(void*)=[%d]\n", (int)sizeof(int),(int)sizeof(void*)); + smanager->printf("[%d] Main Mem %0lx len %d\n", task_id, (unsigned long)next,(int)SIZE); return 0; }