AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Este contenido se ha traducido automáticamente.  Haga clic aquí  para ver la versión en inglés.
Ayuda / WLanguage / Funciones WLanguage / Funciones estándar / Funciones de Windows / Funciones varias de WINDEV
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReportes y ConsultasCódigo de Usuario (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Código Navegador
WINDEV Mobile
AndroidWidget Android iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Otros
Procedimientos almacenados
Starts "collecting data" for the performance profiler.
Once this function is called, all the executed processes/events are saved in a WPF file.
This file can be opened:
  • by the performance profiler.
  • in the editor of WINDEV, WEBDEV or WINDEV Mobile: on the "Inicio" tab, in the "General" group, expand "Abrir" and select "Open".
Reminder:
  • To start the performance profiler, press: Shift + Windows + F10.
  • Novedad versión 2024
    The Performance profiler can also be run between 2 breakpoints, when debugging an application.. For more details, see Breakpoints.
Ejemplo
ProfilerStart("Test_ProcédureLancement.wpf")
ProcédureLancement()
ProfilerEnd()
Sintaxis
ProfilerStart([<Name of WPF file>])
<Name of WPF file>: Optional character string
Location and name of the WPF file to create. The name of the WPF file can be built from the following elements:
[%ExeDir%]Directory of the executable, always filled with the "\" character. This directory is equivalent to the result of fExeDir.
[%ExeName%]Executable name.
[%Date%]Start date for collecting information (YYYYMMDD format).
[%Time%]Start time for collecting information (HHMMSS format)
[%UserName%]Name of the current user.
[%ComputerName%]Computer name.
[%DataDir%]Directory of the HFSQL data files specified by the user when installing the application. This directory is equivalent to the result of fDataDir.
[%DirUserData%]Directory for the data of the current user of the current application. This directory is equivalent to the result of fDataDirUser.

By default:
  • the extension of the WPF file is ".wpf".
  • the name of the WPF file corresponds to: "[%UserDataDir%][%ExeName%]_[%Date%]_[%Time%]".
    For example: "C:\Users\Doc\AppData\Roaming\WINDEV applications\MyApp\MyApp_20161023_130812.wpf".
Caution: If you build strings dynamically ("Allow '[% %]' in the strings" option in the "Compilation" tab of the project description, a compilation error appears (unknown identifier). In this case, each string must be preceded by '-%'. Example:
ProfilerStart("[%RepDonneesUtilisateur%][%NomExe%]_[%Date%]_[%Heure%]")
becomes:
ProfilerStart(-%"[%RepDonneesUtilisateur%][%NomExe%]_[%Date%]_[%Heure%]")
Observaciones
A WLanguage error occurs if ProfilerStart is used multiple times in the same process or event (without calling ProfilerEnd).
Clasificación Lógica de negocio / UI: Código neutro
Componente: wd290vm.dll
Versión mínima requerida
  • Versión 9
Esta página también está disponible para…
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 10/04/2024

Señalar un error o enviar una sugerencia | Ayuda local