public static extern double core_getTickFrequency(); [DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl)]