Task timers
Added task timers output call to QuickSched.
Merge request reports
Activity
1646 1649 lock_init( &s->lock ); 1647 1650 1648 1651 } 1652 1653 1654 1655 void qsched_dump_task_timers( struct qsched *s, char *filename ){ 1656 #ifdef WITH_TASK_TIMERS 1657 FILE *task_file; 1658 1659 task_file = fopen(filename, "w"); 1660 1661 for(int i = 0; i < s->count; i++) 1662 { 1646 1649 lock_init( &s->lock ); 1647 1650 1648 1651 } 1652 1653 1654 1655 void qsched_dump_task_timers( struct qsched *s, char *filename ){ 1656 #ifdef WITH_TASK_TIMERS 1657 FILE *task_file; 1658 1659 task_file = fopen(filename, "w"); 1660 1661 for(int i = 0; i < s->count; i++) 1662 { 608 608 609 609 /* Set the task stats. */ 610 610 t->toc = getticks(); 611 #ifdef WITH_TASK_TIMERS 612 t->tid = omp_get_thread_num(); This call should also be qsched_get_thread_num() but that is not yet in master as I added it inside the fortran bindings branch.
Edited by Aidan Chalk
Added 1 commit:
- 2887dd39 - Updated the task script to match peter's new version for SWIFT
Please register or sign in to reply