From 104e521c04d1a0cad9c68fb11e250e12ad8917ef Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Wed, 17 Oct 2018 07:08:47 -0700 Subject: 4709 --- html/073scheduler.cc.html | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) (limited to 'html/073scheduler.cc.html') diff --git a/html/073scheduler.cc.html b/html/073scheduler.cc.html index 6812df55..a7505f6a 100644 --- a/html/073scheduler.cc.html +++ b/html/073scheduler.cc.html @@ -133,7 +133,7 @@ if ('onhashchange' in window) { 69 skip_to_next_routine(); 70 assert(Current_routine); 71 assert(Current_routine->state == RUNNING); - 72 trace(9990, "schedule") << current_routine_label() << end(); + 72 trace(9990, "schedule") << current_routine_label() << end(); 73 run_current_routine(); 74 // Scheduler State Transitions 75 if (Current_routine->completed()) @@ -174,7 +174,7 @@ if ('onhashchange' in window) { 110 string routine_label(routine* r) { 111 ostringstream result; 112 const call_stack& calls = r->calls; -113 for (call_stack::const_iterator p = calls.begin(); p != calls.end(); ++p) { +113 for (call_stack::const_iterator p = calls.begin(); p != calls.end(); ++p) { 114 if (p != calls.begin()) result << '/'; 115 result << get(Recipe, p->running_recipe).name; 116 } @@ -227,11 +227,11 @@ if ('onhashchange' in window) { 163 :(before "End Primitive Recipe Checks") 164 case START_RUNNING: { 165 if (inst.ingredients.empty()) { -166 raise << maybe(get(Recipe, r).name) << "'start-running' requires at least one ingredient: the recipe to start running\n" << end(); +166 raise << maybe(get(Recipe, r).name) << "'start-running' requires at least one ingredient: the recipe to start running\n" << end(); 167 break; 168 } 169 if (!is_mu_recipe(inst.ingredients.at(0))) { -170 raise << maybe(get(Recipe, r).name) << "first ingredient of 'start-running' should be a recipe, but got '" << to_string(inst.ingredients.at(0)) << "'\n" << end(); +170 raise << maybe(get(Recipe, r).name) << "first ingredient of 'start-running' should be a recipe, but got '" << to_string(inst.ingredients.at(0)) << "'\n" << end(); 171 break; 172 } 173 break; @@ -375,7 +375,7 @@ if ('onhashchange' in window) { 311 +error: f2: divide by zero in '3:num <- divide-with-remainder 4, 0' 312 -error: f2: divide by zero in '4:num <- divide-with-remainder 4, 0' 313 -314 :(after "operator<<(ostream& os, end /*unused*/)") +314 :(after "operator<<(ostream& os, end /*unused*/)") 315 if (Trace_stream && Trace_stream->curr_label == "error" && Current_routine) { 316 Current_routine->state = COMPLETED; 317 } @@ -435,11 +435,11 @@ if ('onhashchange' in window) { 371 :(before "End Primitive Recipe Checks") 372 case ROUTINE_STATE: { 373 if (SIZE(inst.ingredients) != 1) { -374 raise << maybe(get(Recipe, r).name) << "'routine-state' requires exactly one ingredient, but got '" << to_original_string(inst) << "'\n" << end(); +374 raise << maybe(get(Recipe, r).name) << "'routine-state' requires exactly one ingredient, but got '" << to_original_string(inst) << "'\n" << end(); 375 break; 376 } 377 if (!is_mu_number(inst.ingredients.at(0))) { -378 raise << maybe(get(Recipe, r).name) << "first ingredient of 'routine-state' should be a routine id generated by 'start-running', but got '" << inst.ingredients.at(0).original_string << "'\n" << end(); +378 raise << maybe(get(Recipe, r).name) << "first ingredient of 'routine-state' should be a routine id generated by 'start-running', but got '" << inst.ingredients.at(0).original_string << "'\n" << end(); 379 break; 380 } 381 break; @@ -468,11 +468,11 @@ if ('onhashchange' in window) { 404 :(before "End Primitive Recipe Checks") 405 case STOP: { 406 if (SIZE(inst.ingredients) != 1) { -407 raise << maybe(get(Recipe, r).name) << "'stop' requires exactly one ingredient, but got '" << to_original_string(inst) << "'\n" << end(); +407 raise << maybe(get(Recipe, r).name) << "'stop' requires exactly one ingredient, but got '" << to_original_string(inst) << "'\n" << end(); 408 break; 409 } 410 if (!is_mu_number(inst.ingredients.at(0))) { -411 raise << maybe(get(Recipe, r).name) << "first ingredient of 'stop' should be a routine id generated by 'start-running', but got '" << inst.ingredients.at(0).original_string << "'\n" << end(); +411 raise << maybe(get(Recipe, r).name) << "first ingredient of 'stop' should be a routine id generated by 'start-running', but got '" << inst.ingredients.at(0).original_string << "'\n" << end(); 412 break; 413 } 414 break; @@ -529,7 +529,7 @@ if ('onhashchange' in window) { 465 :(before "End Scheduler State Transitions") 466 if (Current_routine->limit >= 0) { 467 if (Current_routine->limit <= Scheduling_interval) { -468 trace("schedule") << "discontinuing routine " << Current_routine->id << end(); +468 trace("schedule") << "discontinuing routine " << Current_routine->id << end(); 469 Current_routine->state = DISCONTINUED; 470 Current_routine->limit = 0; 471 } @@ -540,10 +540,10 @@ if ('onhashchange' in window) { 476 477 :(before "End Test Teardown") 478 if (Passed && any_routines_with_error()) -479 raise << "some routines died with errors\n" << end(); +479 raise << "some routines died with errors\n" << end(); 480 :(before "End Mu Test Teardown") 481 if (Passed && any_routines_with_error()) -482 raise << Current_scenario->name << ": some routines died with errors\n" << end(); +482 raise << Current_scenario->name << ": some routines died with errors\n" << end(); 483 484 :(code) 485 bool any_routines_with_error() { @@ -566,15 +566,15 @@ if ('onhashchange' in window) { 502 :(before "End Primitive Recipe Checks") 503 case LIMIT_TIME: { 504 if (SIZE(inst.ingredients) != 2) { -505 raise << maybe(get(Recipe, r).name) << "'limit-time' requires exactly two ingredient, but got '" << to_original_string(inst) << "'\n" << end(); +505 raise << maybe(get(Recipe, r).name) << "'limit-time' requires exactly two ingredient, but got '" << to_original_string(inst) << "'\n" << end(); 506 break; 507 } 508 if (!is_mu_number(inst.ingredients.at(0))) { -509 raise << maybe(get(Recipe, r).name) << "first ingredient of 'limit-time' should be a routine id generated by 'start-running', but got '" << inst.ingredients.at(0).original_string << "'\n" << end(); +509 raise << maybe(get(Recipe, r).name) << "first ingredient of 'limit-time' should be a routine id generated by 'start-running', but got '" << inst.ingredients.at(0).original_string << "'\n" << end(); 510 break; 511 } 512 if (!is_mu_number(inst.ingredients.at(1))) { -513 raise << maybe(get(Recipe, r).name) << "second ingredient of 'limit-time' should be a number (of instructions to run for), but got '" << inst.ingredients.at(1).original_string << "'\n" << end(); +513 raise << maybe(get(Recipe, r).name) << "second ingredient of 'limit-time' should be a number (of instructions to run for), but got '" << inst.ingredients.at(1).original_string << "'\n" << end(); 514 break; 515 } 516 break; @@ -604,11 +604,11 @@ if ('onhashchange' in window) { 540 :(before "End Primitive Recipe Checks") 541 case NUMBER_OF_INSTRUCTIONS: { 542 if (SIZE(inst.ingredients) != 1) { -543 raise << maybe(get(Recipe, r).name) << "'number-of-instructions' requires exactly one ingredient, but got '" << to_original_string(inst) << "'\n" << end(); +543 raise << maybe(get(Recipe, r).name) << "'number-of-instructions' requires exactly one ingredient, but got '" << to_original_string(inst) << "'\n" << end(); 544 break; 545 } 546 if (!is_mu_number(inst.ingredients.at(0))) { -547 raise << maybe(get(Recipe, r).name) << "first ingredient of 'number-of-instructions' should be a routine id generated by 'start-running', but got '" << inst.ingredients.at(0).original_string << "'\n" << end(); +547 raise << maybe(get(Recipe, r).name) << "first ingredient of 'number-of-instructions' should be a routine id generated by 'start-running', but got '" << inst.ingredients.at(0).original_string << "'\n" << end(); 548 break; 549 } 550 break; -- cgit 1.4.1-2-gfad0