Skip to main content

Debugging

COMPARE_TIME_FUNCTION

compare_time_function(Real base, Charstring msg, Charstring fn, Vector args, Integer times) -> Boolean
STABLE

The relative time spent to call the OSQL function fn with arguments

args n times compared to the corresponding base time per call base. The systen will print a message msg and the both the total time and the improvement factor compared to base


COMPARE_TIME_QUERY

compare_time_query(Real base, Charstring text, Charstring query, Integer times) -> Real
STABLE

No description.


EXPANDED_IMAGE

expanded_image(Function f) -> Integer
STABLE

No description.


LEAKS

leaks(Charstring, Vector args) -> Record leaks
STABLE

No description.


PP

pp(Object o) -> Charstring
STABLE

Pretty print object o into a string


PRINT

print(Object o) -> Boolean
STABLE

Print object o on console


print_to(Bag b, Charstring file) -> Boolean
STABLE

Print object o to file


PROFILE

profile()->Vector of (Charstring, Number)
STABLE

return statistical profile as Vector of pairs [fnname,percentage]


PROFILING

profiling(Charstring action) -> Charstring
STABLE

Control statistical profiling by action:

on: turn on statistical profiling of OSQL functions all: turn on statistical prifiling of OSQL and Lisp off: turn off statistical profiling clear: clear collected samples print: print percentage time spent in functions


TEST_SERVER_CONNECTION

test_server_connection( ) -> Bag of Charstring msg
STABLE

No description.


TIME_FUNCTION

time_function(Charstring msg, Charstring fn, Vector args, Integer times) -> Real
STABLE

The time spent to call the OSQL function fn with arguments args

n times. The systen will print a message msg and the total time on the console. The result is the time spent per call


TIME_QUERY

time_query(Charstring text, Charstring query, Integer times) -> Real
STABLE

No description.


TRACE

trace(Charstring fn) -> Function
STABLE

Trace function named fn.

Derived functions cannot be traced!


UNTRACE

untrace(Charstring fn) -> Function
STABLE

Untrace function named fn