printf("---------------------------------------------------------------------\n");
printf("Total nodes created: %d\n\n", TreeNode::getTotalNodes());
+ scheduler->print();
+
+ printf("\nTrace:\n\n");
+
for (it = action_trace->begin(); it != action_trace->end(); it++) {
DBG();
(*it)->print();
printf("Current thread: %d\n", current->get_id());
else
printf("No current thread\n");
- printf("# Threads in ready list: %ld\n", readyList.size());
+ printf("Num. threads in ready list: %ld\n", readyList.size());
std::list<Thread *>::iterator it;
for (it = readyList.begin(); it != readyList.end(); it++)