1 // Copyright 2015 The Chromium Authors 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #include "base/process/process_metrics.h" 6 7 #include <stddef.h> 8 #include <unistd.h> 9 10 namespace base { 11 GetPageSize()12size_t GetPageSize() { 13 return static_cast<size_t>(getpagesize()); 14 } 15 16 } // namespace base 17