1 // Copyright 2016 by Samsung Electronics, Inc.,
3 // This software is the confidential and proprietary information
4 // of Samsung Electronics, Inc. ("Confidential Information"). You
5 // shall not disclose such Confidential Information and shall use
6 // it only in accordance with the terms of the license agreement
7 // you entered into with Samsung.
10 using System.Runtime.InteropServices;
12 internal static partial class Interop
14 internal static partial class Tracer
16 [DllImport(Libraries.ttrace, EntryPoint = "trace_begin")]
17 internal static extern void Begin (String name);
19 [DllImport(Libraries.ttrace, EntryPoint = "trace_end")]
20 internal static extern void End ();
22 [DllImport(Libraries.ttrace, EntryPoint = "trace_async_begin")]
23 internal static extern void AsyncBegin (int cookie, String name);
25 [DllImport(Libraries.ttrace, EntryPoint = "trace_async_end")]
26 internal static extern void AsyncEnd (int cookie, String name);
28 [DllImport(Libraries.ttrace, EntryPoint = "trace_update_counter")]
29 internal static extern void TraceValue (int value, String name);