Home | History | Annotate | Download | only in profiler

Lines Matching defs:profile

17 See https://github.com/google/pprof/blob/master/proto/profile.proto for pprof
18 profile format.
30 pprof_profiler.profile(sess.graph, run_metadata, output_dir)
33 The code above would output a pprof profile to separate output_dir/.*.pb.gz
105 """Keeps track of `Function` protos for pprof profile."""
149 """Keeps track of `Location` protos for pprof profile.
206 """Keeps track of `Sample` protos for pprof profile.
254 """Returns list of `Sample` protos for pprof profile."""
274 def profile(self):
278 Dictionary mapping from device name to proto in `profile_pb2.Profile`
285 # Create profile
289 'Not enough data to create profile for device %s. Did you pass '
304 """Returns profile data in pprof proto format.
312 pprof_profile = profile_pb2.Profile()
392 See https://github.com/google/pprof/blob/master/proto/profile.proto
402 return PprofProfiler(graph, run_metadata).profile()
405 def profile(graph, run_metadata, output_dir=None):
408 See https://github.com/google/pprof/blob/master/proto/profile.proto
414 output_dir: (string) Directory to output pprof profile to.
415 Profile files for each device will be stored in compressed
416 serialized proto format. If output_dir is None, profile protos
420 List of output files created by this profile call.
443 print('Writing profile to %s...' % profile_file)