Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(8)

Side by Side Diff: third_party/WebKit/Source/platform/heap/Heap.cpp

Issue 1550563002: Blink Platform: Remove time functions from Platform. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merrrge agaaain. Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 27 matching lines...) Expand all
38 #include "platform/heap/CallbackStack.h" 38 #include "platform/heap/CallbackStack.h"
39 #include "platform/heap/MarkingVisitor.h" 39 #include "platform/heap/MarkingVisitor.h"
40 #include "platform/heap/PageMemory.h" 40 #include "platform/heap/PageMemory.h"
41 #include "platform/heap/PagePool.h" 41 #include "platform/heap/PagePool.h"
42 #include "platform/heap/SafePoint.h" 42 #include "platform/heap/SafePoint.h"
43 #include "platform/heap/ThreadState.h" 43 #include "platform/heap/ThreadState.h"
44 #include "public/platform/Platform.h" 44 #include "public/platform/Platform.h"
45 #include "public/platform/WebMemoryAllocatorDump.h" 45 #include "public/platform/WebMemoryAllocatorDump.h"
46 #include "public/platform/WebProcessMemoryDump.h" 46 #include "public/platform/WebProcessMemoryDump.h"
47 #include "wtf/Assertions.h" 47 #include "wtf/Assertions.h"
48 #include "wtf/CurrentTime.h"
48 #include "wtf/DataLog.h" 49 #include "wtf/DataLog.h"
49 #include "wtf/LeakAnnotations.h" 50 #include "wtf/LeakAnnotations.h"
50 #include "wtf/MainThread.h" 51 #include "wtf/MainThread.h"
51 #include "wtf/Partitions.h" 52 #include "wtf/Partitions.h"
52 53
53 namespace blink { 54 namespace blink {
54 55
55 HeapAllocHooks::AllocationHook* HeapAllocHooks::m_allocationHook = nullptr; 56 HeapAllocHooks::AllocationHook* HeapAllocHooks::m_allocationHook = nullptr;
56 HeapAllocHooks::FreeHook* HeapAllocHooks::m_freeHook = nullptr; 57 HeapAllocHooks::FreeHook* HeapAllocHooks::m_freeHook = nullptr;
57 58
(...skipping 671 matching lines...) Expand 10 before | Expand all | Expand 10 after
729 size_t Heap::s_wrapperCountAtLastGC = 0; 730 size_t Heap::s_wrapperCountAtLastGC = 0;
730 size_t Heap::s_collectedWrapperCount = 0; 731 size_t Heap::s_collectedWrapperCount = 0;
731 size_t Heap::s_partitionAllocSizeAtLastGC = 0; 732 size_t Heap::s_partitionAllocSizeAtLastGC = 0;
732 double Heap::s_estimatedMarkingTimePerByte = 0.0; 733 double Heap::s_estimatedMarkingTimePerByte = 0.0;
733 bool Heap::s_isLowEndDevice = false; 734 bool Heap::s_isLowEndDevice = false;
734 #if ENABLE(ASSERT) 735 #if ENABLE(ASSERT)
735 uint16_t Heap::s_gcGeneration = 0; 736 uint16_t Heap::s_gcGeneration = 0;
736 #endif 737 #endif
737 738
738 } // namespace blink 739 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/platform/graphics/PictureSnapshot.cpp ('k') | third_party/WebKit/Source/platform/heap/HeapPage.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698