aboutsummaryrefslogtreecommitdiff
path: root/ipynb/tutorial/00_LisaInANutshell.ipynb
diff options
context:
space:
mode:
Diffstat (limited to 'ipynb/tutorial/00_LisaInANutshell.ipynb')
-rw-r--r--ipynb/tutorial/00_LisaInANutshell.ipynb18
1 files changed, 13 insertions, 5 deletions
diff --git a/ipynb/tutorial/00_LisaInANutshell.ipynb b/ipynb/tutorial/00_LisaInANutshell.ipynb
index 836b0ba..1907636 100644
--- a/ipynb/tutorial/00_LisaInANutshell.ipynb
+++ b/ipynb/tutorial/00_LisaInANutshell.ipynb
@@ -63,7 +63,11 @@
"http://127.0.0.1:8888/\n",
"\n",
"While the tutorial notebooks are accessible starting from this link:<br>\n",
- "http://127.0.0.1:8888/notebooks/tutorial/00_LisaInANutshell.ipynb\n"
+ "http://127.0.0.1:8888/notebooks/tutorial/00_LisaInANutshell.ipynb\n",
+ "\n",
+ "Note that the `lisa-ipython` command allows to specify also interface and port in case you have several network interfaces on your host:\n",
+ "\n",
+ "```lisa-ipython start [interface [port]]```\n"
]
},
{
@@ -167,7 +171,8 @@
" \n",
" # Target is localhost\n",
" \"platform\" : 'linux',\n",
- " \"board\" : \"juno\",\n",
+ " # Board descriptions are described through json files in lisa/libs/utils/platforms/\n",
+ " \"board\" : \"juno\", \n",
" \n",
" # Login credentials\n",
" \"host\" : \"192.168.0.1\",\n",
@@ -747,6 +752,9 @@
" loadref='LITTLE',\n",
" run_dir=target.working_directory\n",
" \n",
+ " # Alternatively, it is possible to specify a json file for rt-app through:\n",
+ " # kind = 'custom',\n",
+ " # params = '/path/file.json',\n",
");"
]
},
@@ -2200,7 +2208,7 @@
" \"cpu_frequency\",\n",
" \"cpu_capacity\",\n",
" ]\n",
- " trace = Trace(platform, test_dir, events, tasks=pa.tasks())\n",
+ " trace = Trace(platform, test_dir, events)\n",
" \n",
" # Define time ranges for all the temporal plots\n",
" trace.setXTimeRange(t_min, t_max)\n",
@@ -2210,7 +2218,7 @@
" pa.plotPerf(task)\n",
" \n",
" # Tasks plots\n",
- " trace.analysis.tasks.plotTasks()\n",
+ " trace.analysis.tasks.plotTasks(pa.tasks())\n",
"\n",
" # Cluster and CPUs plots\n",
" trace.analysis.frequency.plotClusterFrequencies()"
@@ -2308,7 +2316,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython2",
- "version": "2.7.9"
+ "version": "2.7.13"
},
"toc": {
"toc_cell": false,