code: void onStart(Device device) {
  	  KernelDeviceProfile currentDeviceProfile = deviceProfiles.get(device);
        if (currentDeviceProfile == null) {    	 
           currentDeviceProfile = new KernelDeviceProfile(this, kernelClass, device);
           KernelDeviceProfile existingProfile = deviceProfiles.putIfAbsent(device, currentDeviceProfile);
           if (existingProfile != null) {
          	 currentDeviceProfile = existingProfile;
           }
        }
        
        currentDeviceProfile.onEvent(ProfilingEvent.START);
        currentDevice.set(device);
     }
docs: Starts a profiling information gathering sequence for the current thread invoking this method
  regarding the specified execution device.
  @param device