Profile Trigger
Trigger is project specified settings that controls the workflow of profile session.
To View and Edit Trigger:
- Choose Profile>Triggers, or find and click
button on the toolbar.
- To modify a trigger, click the row/cell you want to change, type or select
the new value.
-
To adjust the order, first click a row to make it active, then click moving up
or
moving down
button to change its position.
-
To add a trigger, click the add button
,
a blank row will appear at the bottom, modify it accordingly and use moving up
or
moving down
button to adjust the order.
-
To delete a trigger, just click the remove button
.
|
The changes you made on triggers will not take effect or saved until you
click the apply button .
The applied triggers will be automatically saved with current project.
You can also use reset button
to revert your changes as long as you haven't applied them.
|
The Trigger Definition:
Each trigger is invoked only when a specific event happens, that will change the
workflow of profiler. Each trigger has following attributes:
-
Profiler Event: The event type of this trigger. We support
following event types:
-
Start: When profiler is started.
-
Script events: When JavaScript enters or leaves a
particular function, which is determined by URL and function name attributes.
-
URL: The URL for the JavaScript file, ignored by Start
event type.
-
Function Name: The JavaScript function name, , ignored by Start
event type.
-
Event: Sub event type of the Profile Event:
- Disabled if profile event is Start.
-
Enter/Leave The function starts and ends events.
- Timer: If specified, the profile action is not taken
immediately, but wait for specific milliseconds to invoke.
-
Action: The action to performance when this trigger is
invoked. Following actions are supported:
-
Snapshot: Start to collect snapshot data, at least one
trigger must specify this option, otherwise, no snapshot data is collected.
-
Pause: Pause collecting snapshot data, the performance
data is ignored until resume action is taken.
-
Resume: Resume to collection snapshot data, stop pause
mode.
-
Clear: Clear all snapshot data, and start a new data
collection.
-
Stop: Stop profiler, once this action is taken, the profiler
session is ended, all other triggers are ignored, and snapshot data is
displayed in snapshot window.
User can also manually stop profiler by choosing Profile>Stop.
Copyright © 2004 Tito Software Corporation. All rights reserved.