ergo.h revision 4680
27f8adec83293fb8bd3bfa37175322b0ee3bb933jvergara/*
27f8adec83293fb8bd3bfa37175322b0ee3bb933jvergara * Copyright (c) 1998, 2012, Oracle and/or its affiliates. All rights reserved.
27f8adec83293fb8bd3bfa37175322b0ee3bb933jvergara * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
27f8adec83293fb8bd3bfa37175322b0ee3bb933jvergara *
27f8adec83293fb8bd3bfa37175322b0ee3bb933jvergara * This code is free software; you can redistribute it and/or modify it
27f8adec83293fb8bd3bfa37175322b0ee3bb933jvergara * under the terms of the GNU General Public License version 2 only, as
27f8adec83293fb8bd3bfa37175322b0ee3bb933jvergara * published by the Free Software Foundation. Oracle designates this
27f8adec83293fb8bd3bfa37175322b0ee3bb933jvergara * particular file as subject to the "Classpath" exception as provided
27f8adec83293fb8bd3bfa37175322b0ee3bb933jvergara * by Oracle in the LICENSE file that accompanied this code.
27f8adec83293fb8bd3bfa37175322b0ee3bb933jvergara *
27f8adec83293fb8bd3bfa37175322b0ee3bb933jvergara * This code is distributed in the hope that it will be useful, but WITHOUT
27f8adec83293fb8bd3bfa37175322b0ee3bb933jvergara * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
27f8adec83293fb8bd3bfa37175322b0ee3bb933jvergara * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
27f8adec83293fb8bd3bfa37175322b0ee3bb933jvergara * version 2 for more details (a copy is included in the LICENSE file that
27f8adec83293fb8bd3bfa37175322b0ee3bb933jvergara * accompanied this code).
27f8adec83293fb8bd3bfa37175322b0ee3bb933jvergara *
27f8adec83293fb8bd3bfa37175322b0ee3bb933jvergara * You should have received a copy of the GNU General Public License version
27f8adec83293fb8bd3bfa37175322b0ee3bb933jvergara * 2 along with this work; if not, write to the Free Software Foundation,
27f8adec83293fb8bd3bfa37175322b0ee3bb933jvergara * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
27f8adec83293fb8bd3bfa37175322b0ee3bb933jvergara *
27f8adec83293fb8bd3bfa37175322b0ee3bb933jvergara * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
27f8adec83293fb8bd3bfa37175322b0ee3bb933jvergara * or visit www.oracle.com if you need additional information or have any
27f8adec83293fb8bd3bfa37175322b0ee3bb933jvergara * questions.
27f8adec83293fb8bd3bfa37175322b0ee3bb933jvergara */
27f8adec83293fb8bd3bfa37175322b0ee3bb933jvergara
65e99be301d5a19db33f25841f671756e8dbb9b5ludovicp#ifndef _ERGO_H
27f8adec83293fb8bd3bfa37175322b0ee3bb933jvergara#define _ERGO_H
27f8adec83293fb8bd3bfa37175322b0ee3bb933jvergara
27f8adec83293fb8bd3bfa37175322b0ee3bb933jvergara#include <inttypes.h>
27f8adec83293fb8bd3bfa37175322b0ee3bb933jvergara#include <stdio.h>
27f8adec83293fb8bd3bfa37175322b0ee3bb933jvergara#include <string.h>
27f8adec83293fb8bd3bfa37175322b0ee3bb933jvergara#include <stdlib.h>
27f8adec83293fb8bd3bfa37175322b0ee3bb933jvergara#include <sys/stat.h>
27f8adec83293fb8bd3bfa37175322b0ee3bb933jvergara#include <unistd.h>
27f8adec83293fb8bd3bfa37175322b0ee3bb933jvergara#include <sys/types.h>
27f8adec83293fb8bd3bfa37175322b0ee3bb933jvergara
27f8adec83293fb8bd3bfa37175322b0ee3bb933jvergara#include "java.h"
27f8adec83293fb8bd3bfa37175322b0ee3bb933jvergara
27f8adec83293fb8bd3bfa37175322b0ee3bb933jvergarajboolean ServerClassMachineImpl(void);
27f8adec83293fb8bd3bfa37175322b0ee3bb933jvergarauint64_t physical_memory(void);
27f8adec83293fb8bd3bfa37175322b0ee3bb933jvergara
27f8adec83293fb8bd3bfa37175322b0ee3bb933jvergara#endif /* _ERGO_H */
27f8adec83293fb8bd3bfa37175322b0ee3bb933jvergara