Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[tracecompass-dev] Script example without trace data


I would like to create a state chart similar to the one shown @ ECE:
on page 24

I do not have a trace file to parse, all my data resides in an internal
data model. Therefore I would need to be able to create an empty trace
first and then populate it via API. Is there an example available for
this use case?

Checking out the examples from:
does not help much as they all seem to rely on some data files which I
was not able to find:

	var analysis = getAnalysis("mpiring.js");

	if (analysis == null) {
		print("Trace is null");

always exists as analysis is null.

Is there a way to create an analysis from scratch, add some data
programmatically and plot that stuff?


Back to the top