|
Bugzilla – Full Text Bug Listing |
| Summary: | LTE perl speed tests possibly broken | ||
|---|---|---|---|
| Product: | ns-3 | Reporter: | Tommaso Pecorella <tommaso.pecorella> |
| Component: | lte | Assignee: | Biljana Bojović <bbojovic> |
| Status: | RESOLVED FIXED | ||
| Severity: | minor | CC: | ns-bugs, tomh |
| Priority: | P5 | ||
| Version: | pre-release | ||
| Hardware: | All | ||
| OS: | All | ||
| Attachments: | patch | ||
|
Description
Tommaso Pecorella
2015-12-26 13:13:20 UTC
I can confirm that the problem is also in lte-test-run-time.pl the output is: #sTime nFloors nEnb nUe rTime rTDev 5 0 1 1 0 0 5 0 1 5 0 0 5 0 1 10 0 0 ... but rTime and rTDev should contain the the execution time average and standard deviation. And since I just made it... here's the output of the upcoming tool to help the debuggers. pecos@nightwatch ~/workspace/ns-3-allinone/ns-3-dev $ sh report.sh ** System info ** Linux nightwatch 3.16.0-38-generic #52~14.04.1-Ubuntu SMP Fri May 8 09:43:57 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux Linux Mint 17.2 Rafaela \n \l ** Compiler type and version ** gcc (Ubuntu 4.8.4-2ubuntu1~14.04) 4.8.4 Copyright (C) 2013 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. ** ns-3 version ** 3-dev changeset: 11797:838552e9d264 tag: tip user: Tom Henderson <tomh@tomh.org> date: Wed Dec 23 09:43:13 2015 -0800 summary: update CHANGES.html Created attachment 2218 [details]
patch
Fix.
The problem is that "time" is both a bash command AND a standard linux command. Perl uses the standard linux command, whose syntax depends on environment variables. Unless explicitly forced to use a specific format :o
Biljana, can you please test on your system and then commit the attached? Thanks. (In reply to Tom Henderson from comment #3) > Biljana, can you please test on your system and then commit the attached? > Thanks. Sorry for really late reply. I was on days off when all these follow ups were created. I will try it these days and let you know. Thank you for your effort to solve this. Patch works fine. I have tested both perl scripts and times are now properly written to the output file. Tommaso thank you very much for your contribution! pushed in changeset 11917:8699244abd55 |