Skip to content

Commit 99b9896

Browse files
committed
Added better reporting to person activity generation
1 parent 224f106 commit 99b9896

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/ldbc/snb/datagen/generator/PersonActivityGenerator.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,13 +147,13 @@ public void generateActivityForBlock( int seed, ArrayList<Person> block, Context
147147
float personGenerationTime = 0.0f;
148148
float accumTime = 0;
149149
for( Person p : block ) {
150-
System.out.println("Generating activity for person "+counter);
150+
System.out.println("Generating activity for person "+counter+" with degree "+p.knows().size());
151151
long start = System.currentTimeMillis();
152152
generateActivity(p, block);
153153
if( DatagenParams.updateStreams ) {
154154
updateSerializer_.changePartition();
155155
}
156-
if( counter % 100 == 0 ) {
156+
if( counter % 1000 == 0 ) {
157157
context.setStatus("Generating activity of person "+counter+" of block"+seed);
158158
context.progress();
159159
}

0 commit comments

Comments
 (0)