Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ private[spark] class BlockMessage() {
}

def set(buffer: ByteBuffer) {
val startTime = System.currentTimeMillis
/*
println()
println("BlockMessage: ")
Expand Down Expand Up @@ -100,7 +99,6 @@ private[spark] class BlockMessage() {
data.flip()
}

val finishTime = System.currentTimeMillis
}

def set(bufferMsg: BufferMessage) {
Expand All @@ -115,7 +113,6 @@ private[spark] class BlockMessage() {
def getLevel: StorageLevel = level

def toBufferMessage: BufferMessage = {
val startTime = System.currentTimeMillis
val buffers = new ArrayBuffer[ByteBuffer]()
var buffer = ByteBuffer.allocate(4 + 4 + id.name.length * 2)
buffer.putInt(typ).putInt(id.name.length)
Expand Down Expand Up @@ -153,7 +150,6 @@ private[spark] class BlockMessage() {
println()
println()
*/
val finishTime = System.currentTimeMillis
Message.createBufferMessage(buffers)
}

Expand Down