utility/profiler/app_profiler_definitions.h

/*******************************************************************************
* # License
* Copyright 2019 Silicon Laboratories Inc. www.silabs.com
*******************************************************************************
*
* The licensor of this software is Silicon Laboratories Inc. Your use of this
* software is governed by the terms of Silicon Labs Master Software License
* Agreement (MSLA) available at
* www.silabs.com/about-us/legal/master-software-license-agreement. This
* software is distributed to you in Source Code format and is governed by the
* sections of the MSLA applicable to Source Code.
*
******************************************************************************/
#include "profiler.h"
// Profile the time it takes to bring the network up
DEFINE_PROFILER(NETWORK_UP, NO_PARENT);
// Profile the time it takes to invoke HTTP transaction
DEFINE_PROFILER(HTTP, NO_PARENT);
// Profile time it takes to open the HTTP request
// This nested below 'HTTP' profiler
DEFINE_PROFILER(HTTP_OPEN, HTTP);
// Profile time it takes to receive the HTTP response
// This nested below 'HTTP' profiler
DEFINE_PROFILER(HTTP_RESPONSE, HTTP);
// Profile time it takes to read response
// This nested below 'HTTP_RESPONSE' profiler
DEFINE_PROFILER(HTTP_READ, HTTP_RESPONSE);
// Profile time it takes to close the HTTP request
// This nested below 'HTTP' profiler
DEFINE_PROFILER(HTTP_CLOSE, HTTP);