class_docstr: Represents a convenience wrapper for :class:`profile`.
class_docstr_tok: ["Represents","a","convenience","wrapper","for",":","class",":","`","profile","`","."]
docstr: Move to the next profiling step.
docstr_tok: ["Move","to","the","next","profiling","step","."]
code: def step(self) -> None:
      """Move to the next profiling step."""
      if self._profile is not None:
          self._profile.step()
  
imports: from __future__ import annotations
  from time import perf_counter
  from typing import Any, Optional
  import torch
  from torch.profiler import ProfilerActivity, profile, schedule, tensorboard_trace_handler
  from typing_extensions import Self
  from fairseq2.data.typing import PathLike
  from fairseq2.gang import Gang
  from fairseq2.typing import Device
label_desc: Use image node_id 4 for calling the Profiler obj's underlying member method code with example usage: obj.step() without return types