class_docstr: Top level container for Callgrind results collected by Timer.
  
  Manipulation is generally done using the FunctionCounts class, which is
  obtained by calling `CallgrindStats.stats(...)`. Several convenience
  methods are provided as well; the most significant is
  `CallgrindStats.as_standardized()`.
class_docstr_tok: ["Top","level","container","for","Callgrind","results","collected","by","Timer",".","Manipulation","is","generally","done","using","the","FunctionCounts","class",",","which","is","obtained","by","calling","`","CallgrindStats.stats","(","...",")","`",".","Several","convenience","methods","are","provided","as","well",";","the","most","significant","is","`","CallgrindStats.as_standardized","(",")","`","."]
docstr: Returns the total number of instructions executed.
  
  See `FunctionCounts.denoise()` for an explanation of the `denoise` arg.
code: def counts(self, *, denoise: bool = False) -> int:
      """Returns the total number of instructions executed.
  
      See `FunctionCounts.denoise()` for an explanation of the `denoise` arg.
      """
      stats = self.stmt_exclusive_stats
      return (stats.denoise() if denoise else stats).sum()
  
imports: import collections
  import enum
  import dataclasses
  import itertools
  import os
  import pickle
  import re
  import shutil
  import subprocess
  import sys
  import textwrap
  from typing import cast, Any, Callable, DefaultDict, Dict, Iterator, List, NamedTuple, Optional, Tuple, Union, TYPE_CHECKING
  import torch
  from torch.utils.benchmark.utils import common, cpp_jit
  from torch.utils.benchmark.utils._stubs import CallgrindModuleType
  import operator
label_desc: Use image node_id 3 for calling the CallgrindStats obj's underlying member method code with example usage: obj.counts() and returns: unknown