Opened 10 years ago
Closed 10 years ago
#838 closed defect (fixed)
Benchmark output regulated by RMANCLIENTOPT
Reported by: | Dimitar Misev | Owned by: | Peter Baumann |
---|---|---|---|
Priority: | major | Milestone: | 9.1 |
Component: | manuals_and_examples | Version: | development |
Keywords: | Cc: | ||
Complexity: | Medium |
Description
This should either be
- documented, or
- changed to rasserver options for example
Currently I've figured from the code in source:raslib/rminit.cc, that the RMANCLIENTOPT environment variable can have several options to control the debug and benchmark levels:
-l <logfile>
: set the log file-d <dbgfile>
: set debug file-dl <dbglevel>
: set debug level, 0-4-b <bmfile>
: set benchmark file-bl <bmlevel>
: set benchmark level, 0-4. The benchmark level is 0 (off) by default, so timers are not printed irrelevant of whether--enable-benchmark
was set at configure or not, unless this is set:export RMANCLIENTOPT="-bl 4"
-notilint, -tilesize, -useTC, -timeout, -notimeout
Change History (5)
comment:1 by , 10 years ago
Component: | undecided → manuals_and_examples |
---|---|
Milestone: | → 9.1 |
Owner: | changed from | to
Status: | new → assigned |
comment:2 by , 10 years ago
comment:3 by , 10 years ago
I have established a wiki page to collect all this:
Once sufficiently stable we can think about migrating it into the installation guide.
comment:4 by , 10 years ago
By default gcc gets these parameters (allows to get segfault stacktrace and run gdb to debug):
-g3 -gdwarf-2 -O0 -rdynamic
--without-debug-symbols
changes that to
-O2
comment:5 by , 10 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
hm, I find this in "./configure —help":
any idea what extra trick the 2nd option does?