260 | | To profile an existing !MapGuide API, the profiling code will be injected into the original functions being profiled, which means !MgServerServices should be extended to accept a !MgProfileResult and the implementation of some APIs will be updated to support profiling. For example, to support profiling !RenderMap, !MgRenderingServerServices needs to be extented by inheriting from !MgProfileManager which provides set/get method for !MgProfileResult. |
| 260 | To profile an existing !MapGuide API, the profiling code will be injected into the original functions being profiled, which means !MgServerServices should be extended to accept a !MgProfileResult and the implementation of some APIs will be updated to support profiling. For example, to support profiling !RenderMap, !MgRenderingServerService needs to be extented by inheriting from !MgProfileManager which provides set/get method for !MgProfileResult. |
| 261 | |
| 262 | The injected code will be executed only when the original code being invoked by !ProfilingService, so the the only impact to the original methods will be the extra if/else processing and nothing more. |