Mercurial > hg > Members > kono > Cerium
diff TaskManager/Cell/SpeThreads.cc @ 194:72dcf908ec52
fix
author | gongo@localhost.localdomain |
---|---|
date | Tue, 20 Jan 2009 14:50:41 +0900 |
parents | 1f4c3f3238e6 |
children | 59c3b9df3c67 |
line wrap: on
line diff
--- a/TaskManager/Cell/SpeThreads.cc Tue Jan 13 19:06:13 2009 +0900 +++ b/TaskManager/Cell/SpeThreads.cc Tue Jan 20 14:50:41 2009 +0900 @@ -43,19 +43,18 @@ status = ((stop_info.result.spe_exit_code & 0xff) << 8) | (stop_info.result.spe_signal_code & 0xff); - printf("[SPE %d] ", arg_t->speid); switch(stop_info.stop_reason) { case SPE_EXIT: - printf("SPE_EXIT stop_info.result.stop_exit_code=0x%x\n", stop_info.result.spe_exit_code); + //printf("SPE_EXIT stop_info.result.stop_exit_code=0x%x\n", stop_info.result.spe_exit_code); break; case SPE_STOP_AND_SIGNAL: - printf("SPE_STOP_AND_SIGNAL stop_info.result.stop_signal_code=%d\n", stop_info.result.spe_signal_code); + printf("[SPE %d] SPE_STOP_AND_SIGNAL stop_info.result.stop_signal_code=%d\n", arg_t->speid, stop_info.result.spe_signal_code); break; case SPE_RUNTIME_ERROR: - printf("SPE_RUNTIME_ERROR stop_info.result.spe_runtime_error=%d\n", stop_info.result.spe_runtime_error); + printf("[SPE %d] SPE_RUNTIME_ERROR stop_info.result.spe_runtime_error=%d\n", arg_t->speid, stop_info.result.spe_runtime_error); break; case SPE_RUNTIME_EXCEPTION: - printf("SPE_RUNTIME_EXCEPTION stop_info.result.spe_runtime_exception=%d\n", stop_info.result.spe_runtime_exception); + printf("[SPE %d] SPE_RUNTIME_EXCEPTION stop_info.result.spe_runtime_exception=%d\n", arg_t->speid, stop_info.result.spe_runtime_exception); break; } @@ -103,7 +102,6 @@ &frontend_thread_run, (void*)&args[i]); #else pthread_create(&threads[i], NULL, - //&spe_thread_run, (void*)spe_ctx[i]); &spe_thread_run, (void*)&args[i]); #endif }