mirror of
https://github.com/roytam1/palemoon27.git
synced 2026-05-26 14:30:27 +00:00
38bd296c8c
- Bug 1145306 - Expose circular buffer status from profiler. r=mstange (8b24a7439) - Bug 1145824 - Add getElapsedTime to nsIProfiler. (r=mstange) (9bbd99f66) - Bug 1145824 - In nsProfiler, allow GetProfile and getProfileData to filter by a start time. (r=mstange) (43bdcb254) - Bug 1141712 - Make LUL work with inplace ticking (not using the unwinder thread). r=mstange. (ed43cdf70) - Bug 1151679 - Stream the property name of getprop and setprop optimization sites. (r=djvj) (3eb8efeb4) - Bug 1142181 - ProfilerBacktrace.cpp should #include its own .h file first, r=aklotz (c1aff9f49) - Bug 1154115 - Rewrite profiler JSON streaming. (r=mstange) (834891a91) - Bug 1157906 - Can't return arrays as a root response, fixes inspect button. r=bgrins (d66407512) - Bug 1160361 - Abort tilt commands when remote. r=bgrins (5bcfbc8d0) - Bug 947242 - DevTools themes - switch to new theme colors;r=jsantell (5ed17dcdc)
27 lines
716 B
C++
27 lines
716 B
C++
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
#include "mozilla/HashFunctions.h"
|
|
|
|
#include "ProfileJSONWriter.h"
|
|
|
|
void
|
|
SpliceableJSONWriter::Splice(const ChunkedJSONWriteFunc* aFunc)
|
|
{
|
|
Separator();
|
|
for (size_t i = 0; i < aFunc->mChunkList.length(); i++) {
|
|
WriteFunc()->Write(aFunc->mChunkList[i].get());
|
|
}
|
|
mNeedComma[mDepth] = true;
|
|
}
|
|
|
|
void
|
|
SpliceableJSONWriter::Splice(const char* aStr)
|
|
{
|
|
Separator();
|
|
WriteFunc()->Write(aStr);
|
|
mNeedComma[mDepth] = true;
|
|
}
|