Exemplo n.º 1
0
static PassRefPtr<Protocol::Timeline::CPUProfileNodeCall> buildInspectorObject(const JSC::ProfileNode::Call& call)
{
    RefPtr<Protocol::Timeline::CPUProfileNodeCall> result = Protocol::Timeline::CPUProfileNodeCall::create()
        .setStartTime(call.startTime())
        .setTotalTime(call.elapsedTime());
    return result.release();
}
static Ref<Protocol::Timeline::CPUProfileNodeCall> buildInspectorObject(const JSC::ProfileNode::Call& call) {
    return Protocol::Timeline::CPUProfileNodeCall::create()
        .setStartTime(call.startTime())
        .setTotalTime(call.elapsedTime())
        .release();
}