ns-3-dev/examples/stats broken?

10 views
Skip to first unread message

Mr.Carra

unread,
Nov 30, 2009, 9:27:48 AM11/30/09
to ns-3-users
Hi,

I have tested the example in ns-3-dev/examples/stats with latest ns3-
dev, simulation works fine, but the plot is not produced.

Probably the reason is that the query

select exp.input,avg(100-((rx.value*100)/tx.value)) from Singletons
rx, Singletons tx, Experiments exp where rx.run = tx.run AND rx.run =
exp.run AND rx.name='receiver-rx-packets' AND tx.name='sender-tx-
packets' group by exp.input order by abs(exp.input) ASC;

does not return any data :)

Mr.Carra

unread,
Nov 30, 2009, 11:58:58 AM11/30/09
to ns-3-users
this how ever works fine in stable release.
Probably something with data gathering

tjkopena

unread,
Dec 11, 2009, 12:20:45 PM12/11/09
to ns-3-users
Apologies, I don't really follow this list at the moment & didn't see
this until Tom H pointed it out [1]. There was a minor change
recently to the stats code that altered the database schema. Much
like you guessed, that change was not propagated to the example script
so it gathered no data. The trivial fix has been pushed to ns-3-dev.

Thx

[1] http://www.nsnam.org/bugzilla/show_bug.cgi?id=765

--
- joe kopena
right here and now
Reply all
Reply to author
Forward
0 new messages