Decorates a method with a ProfilerEvent.sample call.
ProfilerEvent.sample
Optional
Optional.Specifies the name of the profiler sample.If not specified, will use the name of the method.
Decorates a method with a
ProfilerEvent.samplecall.