#include <signal.h>#include <string>#include <map>#include "v8.h"#include "bootstrapper.h"#include "natives.h"#include "platform.h"#include "serialize.h"構成 | |
| class | Counter |
| class | CounterCollection |
マクロ定義 | |
| #define | _HAS_EXCEPTIONS 0 |
型定義 | |
| typedef std::map< std::wstring, int * > | CounterMap |
| typedef std::map< std::wstring, int * >::iterator | CounterMapIterator |
関数 | |
| static int * | counter_callback (const wchar_t *name) |
| static int | WriteInternalSnapshotToFile (const char *filename, const char *str, int size) |
| int | main (int argc, char **argv) |
変数 | |
| static const unsigned int | kMaxCounters = 256 |
| static CounterCollection | local_counters |
| static CounterCollection * | counters = &local_counters |
| static CounterMap | counter_table_ |
| #define _HAS_EXCEPTIONS 0 |
mksnapshot.cc の 29 行で定義されています。
| typedef std::map<std::wstring, int*> CounterMap |
mksnapshot.cc の 95 行で定義されています。
| typedef std::map<std::wstring, int*>::iterator CounterMapIterator |
mksnapshot.cc の 96 行で定義されています。
| static int* counter_callback | ( | const wchar_t * | name | ) | [static] |
mksnapshot.cc の 100 行で定義されています。
参照先 counter_table_, counters, CounterCollection::GetNextCounter(), と NULL.
参照元 main().
| int main | ( | int | argc, | |
| char ** | argv | |||
| ) |
mksnapshot.cc の 145 行で定義されています。
参照先 v8::internal::Heap::CollectAllGarbage(), counter_callback(), v8::internal::DeleteArray(), v8::internal::Serializer::Finalize(), v8::internal::NativesCollection< type >::GetBuiltinsCount(), v8::internal::Bootstrapper::NativesSourceLookup(), v8::Context::New(), v8::internal::Serializer::Serialize(), v8::V8::SetCounterFunction(), と WriteInternalSnapshotToFile().
| static int WriteInternalSnapshotToFile | ( | const char * | filename, | |
| const char * | str, | |||
| int | size | |||
| ) | [static] |
mksnapshot.cc の 116 行で定義されています。
参照先 v8::internal::OS::FOpen(), NULL, と v8::internal::OS::PrintError().
参照元 main().
CounterMap counter_table_ [static] |
mksnapshot.cc の 97 行で定義されています。
参照元 counter_callback().
CounterCollection* counters = &local_counters [static] |
mksnapshot.cc の 92 行で定義されています。
参照元 counter_callback().
const unsigned int kMaxCounters = 256 [static] |
mksnapshot.cc の 45 行で定義されています。
参照元 CounterCollection::CounterCollection(), と CounterCollection::GetNextCounter().
CounterCollection local_counters [static] |
mksnapshot.cc の 91 行で定義されています。
1.7.1