Package com.opengamma.engine.calcnode.stats

Examples of com.opengamma.engine.calcnode.stats.FunctionCostsPerConfiguration


    return s_smallJobPlanner.createPlan(graph, logModeSource, functionInitializationId);
  }

  private void createGraphFragments(final DependencyGraph graph, final Collection<GraphFragment> rootFragments, final Collection<GraphFragment> allFragments) {
    final Map<DependencyNode, GraphFragment> fragments = Maps.newHashMapWithExpectedSize(graph.getSize());
    final FunctionCostsPerConfiguration functionCosts = getFunctionCosts().getStatistics(graph.getCalculationConfigurationName());
    for (DependencyNode node : graph.getDependencyNodes()) {
      final GraphFragment fragment = new GraphFragment(node, functionCosts.getStatistics(node.getFunction().getFunction().getFunctionDefinition().getUniqueId()));
      fragments.put(node, fragment);
      allFragments.add(fragment);
    }
    for (DependencyNode node : graph.getDependencyNodes()) {
      final GraphFragment fragment = fragments.get(node);
View Full Code Here

TOP

Related Classes of com.opengamma.engine.calcnode.stats.FunctionCostsPerConfiguration

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.