org.mentaaffinity.sample
Class BindToSameCore

java.lang.Object
  extended by org.mentaaffinity.sample.BindToSameCore

public class BindToSameCore
extends Object

If your architecture supports hyper-threading you may want to assign two different threads to the same core so they share the same L1 cache.

Author:
Sergio Oliveira Jr.

Constructor Summary
BindToSameCore()
           
 
Method Summary
static void main(String[] ags)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BindToSameCore

public BindToSameCore()
Method Detail

main

public static void main(String[] ags)
                 throws Exception
Throws:
Exception


Copyright © 2012. All Rights Reserved.