diff --git a/ipynb/tutorial/UseCaseExamples_SchedTuneAnalysis.ipynb b/ipynb/tutorial/UseCaseExamples_SchedTuneAnalysis.ipynb index 45881f6c4d278e62bc99c5ffcc788200fa615bd5..2f8a7f33b9030ef4e114fd05c519c88363a57c53 100644 --- a/ipynb/tutorial/UseCaseExamples_SchedTuneAnalysis.ipynb +++ b/ipynb/tutorial/UseCaseExamples_SchedTuneAnalysis.ipynb @@ -1626,26 +1626,6 @@ "### Check that the util estimation is properly computed and CPU capacity matches" ] }, - { - "cell_type": "code", - "execution_count": 6, - "metadata": { - "collapsed": false, - "hidden": true - }, - "outputs": [], - "source": [ - "# Get the boost events related to the RTApp task\n", - "df = trace.data_frame.trace_event('sched_boost_task')\n", - "df = df[df.comm == 'task_ramp']\n", - "\n", - "# Use them to create a new \"boost_task_rtapp\" TRAPpy class\n", - "trace.ftrace.add_parsed_event(\"boost_task_rtapp\", df)\n", - "\n", - "# df = trace.data_frame.trace_event('boost_task_rtapp')\n", - "# df.head()" - ] - }, { "cell_type": "code", "execution_count": 7, @@ -1661,12 +1641,11 @@ "analyzer_config = {\n", " \"SCALE\" : 1024,\n", " \"BOOST\" : 15,\n", - " \"RTAPP\" : trace.ftrace.boost_task_rtapp,\n", "}\n", "\n", "# Verify that the margin is properly computed for each event:\n", "# margin := (scale - util) * boost\n", - "margin_check_statement = \"(((SCALE - RTAPP:util) * BOOST) // 100) == RTAPP:margin\"" + "margin_check_statement = \"(((SCALE - sched_boost_task:util) * BOOST) // 100) == sched_boost_task:margin\"" ] }, { @@ -1683,7 +1662,8 @@ "# Create an Assertion Object\n", "a = Analyzer(trace.ftrace,\n", " analyzer_config,\n", - " window=last_phase)" + " window=last_phase,\n", + " filters={\"comm\": \"task_ramp\"})" ] }, {