HttpServletRequest request = getTMLContext().getrequest();
if (request != null) {
WGARequestInformation info = (WGARequestInformation) request.getAttribute(WGARequestInformation.REQUEST_ATTRIBUTENAME);
if (info != null) {
long duration = System.currentTimeMillis() - status._startTime;
IncludeInformation includeInfo = new IncludeInformation(getType(), tmllib.getName(), duration);
includeInfo.setDesignDb(tmllib.getDatabase().getDbReference());
info.getIncludes().add(includeInfo);
}
}
}
}