:- use_module(library(statistics)).(can be autoloaded)
plain, the time spent in each of the predicates is displayed. If Style is
cumulative, the time spent in its siblings (callees) is added to the predicate.
This predicate first calls prolog:show_profile_hook/2. If XPCE is loaded, this hook is used to activate a GUI interface to visualise the profile results.