![]() | Active Time is deprecated: please use DevTime instead |
|---|---|
As of October 2006, we recommend the use of the DevTime family of reduction functions (DevTime, EventTypeDevTime, WorkspaceDevTime, MemberDevTime) instead of Active Time. DevTime provides a more comprehensive approach to measuring developer activities and the time spent on them. | |
MemberActiveTime reduction function computes telemetry stream(s) representing project member active time in hours.
Table 28.13.
| Parameter | Description | Default |
|---|---|---|
| filePattern | Ant-like file pattern specifying the files to be included in computation. | ** |
| isCumulative | If true, an cumulative version of telemetry stream is returned. | false |
| memberEmail | If '*' is supplied, then a collection of telemetry streams is return, with one telemetry stream for each member in the project. If a member email is supplied, then only one telemetry stream is returned representing this member's active time in the project. | * |
Example 28.19. MemberActiveTime
streams MemberActiveTimeStream(filePattern, cumulative, memberEmail) = {
"Active Time", MemberActiveTime(filePattern, cumulative, memberEmail)
};
y-axis yAxis(label) = {label};
chart MemberActiveTimeChart(memberEmail) = {
"Member Active Time",
(MemberActiveTimeStream("**", "false", memberEmail), yAxis("Active Time Hours"))
};
draw MemberActiveTimeChart("*");

This is a telemetry chart with multiple telemtry streams (non-cumulative active time), one for each member in the project. Note the parameter value passed to 'memberEmail'.
Example 28.20. MemberActiveTime
streams MemberActiveTimeStream(filePattern, cumulative, memberEmail) = {
"Active Time", MemberActiveTime(filePattern, cumulative, memberEmail)
};
y-axis yAxis(label) = {label};
chart MemberActiveTimeChart(memberEmail) = {
"Member Active Time",
(MemberActiveTimeStream("**", "false", memberEmail), yAxis("Active Time Hours"))
};
draw MemberActiveTimeChart("undisclosed@hawaii.edu");

This is a telemetry chart containing one single telemetry stream (non-cumulative active time) for one of the members in the project. Note the parameter value passed to 'memberEmail'.