Example usage for org.apache.hadoop.mapreduce TaskCounter CPU_MILLISECONDS

List of usage examples for org.apache.hadoop.mapreduce TaskCounter CPU_MILLISECONDS

Introduction

In this page you can find the example usage for org.apache.hadoop.mapreduce TaskCounter CPU_MILLISECONDS.

Prototype

TaskCounter CPU_MILLISECONDS

To view the source code for org.apache.hadoop.mapreduce TaskCounter CPU_MILLISECONDS.

Click Source Link

Usage

From source file:org.apache.rya.reasoning.mr.AbstractReasoningTool.java

License:Apache License

/**
 * Cumulative CPU time taken by all mappers/reducers.
 *///  ww w.j ava 2 s  .  c o m
public long getCumulativeTime() throws IOException {
    return getCounter(TaskCounter.CPU_MILLISECONDS);
}