Exec.set_tracing_category referenced in documentation but inexistant in Python
Hello !
As mentioned in the title, the documentation references a method for the simgrid.Exec
class that does not seem to be actually implemented.
The method is referenced in a Python code block in the "Simulating Algorithms" part of the documentation.
On the other hand, in the S4U Examples documentation it seems clear that assigning categories and tracing user defined variables is reserved to the C++ implementation. Is that so ?
Here is my error message :
./src/xbt/exception.cpp:50: [xbt_exception/CRITICAL] Uncaught exception pybind11::error_already_set: AttributeError: 'simgrid.Exec' object has no attribute 'set_tracing_category'
Additionally, set_tracing_category
is nowhere in the Python bindings of the Exec class.
And, as expected, the following code block:
foo_exec = this_actor.exec_init(
exec_methods = [method_name for method_name in dir(foo_exec)
if callable(getattr(pred_exec, method_name))]
gives the following result:
['__class__', '__delattr__', '__dir__', '__eq__', '__format__', '__ge__', '__getattribute__', '__gt__',
'__hash__', '__init__', '__init_subclass__', '__le__', '__lt__', '__ne__', '__new__', '__reduce__',
'__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', 'cancel', 'start',
'test', 'wait']
Is there something I am missing, or another way to assign a category to an execution in order to have it appear in the traces ?
Thank you !